Small fixes
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user