Small fixes

This commit is contained in:
Raphael Coeffic
2022-04-01 08:56:25 +02:00
parent a3c92632f5
commit d0a5b958e1
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1,5 +1,8 @@
# arm-none-eabi toolchain # arm-none-eabi toolchain
set(CMAKE_SYSTEM_NAME Generic)
set(TOOLCHAIN_PREFIX arm-none-eabi-) set(TOOLCHAIN_PREFIX arm-none-eabi-)
set(CMAKE_SYSTEM_PROCESSOR arm)
if(MINGW OR CYGWIN OR WIN32) if(MINGW OR CYGWIN OR WIN32)
set(UTIL_SEARCH_CMD where) set(UTIL_SEARCH_CMD where)
+1 -1
View File
@@ -71,7 +71,7 @@ def findLibClang():
] ]
libSuffix = ".so" libSuffix = ".so"
elif sys.platform == "win32" or sys.platform == "msys": elif sys.platform == "win32" or sys.platform == "msys":
knownPaths = os.environ.get("PATH").split(':') knownPaths = os.environ.get("PATH").split(os.pathsep)
libSuffix = ".dll" libSuffix = ".dll"
else: else:
# Unsupported platform # Unsupported platform