2019-05-07 01:54:05 +09:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-02-28 03:57:38 +08:00
|
|
|
index 3730326..0c2b87c 100644
|
2019-05-07 01:54:05 +09:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-02-28 03:57:38 +08:00
|
|
|
@@ -66,7 +66,7 @@ include(cmakescripts/PackageInfo.cmake)
|
2019-05-07 01:54:05 +09:00
|
|
|
|
|
|
|
# Detect CPU type and whether we're building 64-bit or 32-bit code
|
|
|
|
math(EXPR BITS "${CMAKE_SIZEOF_VOID_P} * 8")
|
|
|
|
-string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} CMAKE_SYSTEM_PROCESSOR_LC)
|
|
|
|
+string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" CMAKE_SYSTEM_PROCESSOR_LC)
|
2021-12-29 03:38:36 +01:00
|
|
|
set(COUNT 1)
|
|
|
|
foreach(ARCH ${CMAKE_OSX_ARCHITECTURES})
|
|
|
|
if(COUNT GREATER 1)
|