Small fixes
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# arm-none-eabi toolchain
|
||||
set(CMAKE_SYSTEM_NAME Generic)
|
||||
|
||||
set(TOOLCHAIN_PREFIX arm-none-eabi-)
|
||||
set(CMAKE_SYSTEM_PROCESSOR arm)
|
||||
|
||||
if(MINGW OR CYGWIN OR WIN32)
|
||||
set(UTIL_SEARCH_CMD where)
|
||||
|
||||
@@ -71,7 +71,7 @@ def findLibClang():
|
||||
]
|
||||
libSuffix = ".so"
|
||||
elif sys.platform == "win32" or sys.platform == "msys":
|
||||
knownPaths = os.environ.get("PATH").split(':')
|
||||
knownPaths = os.environ.get("PATH").split(os.pathsep)
|
||||
libSuffix = ".dll"
|
||||
else:
|
||||
# Unsupported platform
|
||||
|
||||
Reference in New Issue
Block a user