mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 15:37:53 -05:00
i'm sorry
This commit is contained in:
parent
7c558ee47e
commit
aedd986ff3
1 changed files with 4 additions and 2 deletions
|
@ -133,8 +133,10 @@ endif()
|
||||||
if (DEFINED GEODE_CCACHE_VARIANT)
|
if (DEFINED GEODE_CCACHE_VARIANT)
|
||||||
if (NOT DEFINED GEODE_DISABLE_PRECOMPILED_HEADERS)
|
if (NOT DEFINED GEODE_DISABLE_PRECOMPILED_HEADERS)
|
||||||
if (${GEODE_CCACHE_VARIANT} STREQUAL "sccache" AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
if (${GEODE_CCACHE_VARIANT} STREQUAL "sccache" AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
if (DEFINED CMAKE_OSX_ARCHITECTURES AND (CMAKE_OSX_ARCHITECTURES STREQUAL "arm64;x86_64" OR CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64;arm64"))
|
if (APPLE AND DEFINED CMAKE_OSX_ARCHITECTURES AND (CMAKE_OSX_ARCHITECTURES STREQUAL "arm64;x86_64" OR CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64;arm64"))
|
||||||
message(NOTICE "Using ${GEODE_CCACHE_VARIANT} with ${CMAKE_CXX_COMPILER_ID} while building multiple architectures, PCH will be disabled due to issues with sccache.")
|
message(NOTICE "Using ${GEODE_CCACHE_VARIANT} with ${CMAKE_CXX_COMPILER_ID} while building multiple architectures, PCH will be disabled due to issues with sccache.")
|
||||||
|
message("(You can override this by setting GEODE_DISABLE_PRECOMPILED_HEADERS to ON).")
|
||||||
|
|
||||||
set(GEODE_DISABLE_PRECOMPILED_HEADERS ON)
|
set(GEODE_DISABLE_PRECOMPILED_HEADERS ON)
|
||||||
else()
|
else()
|
||||||
message(NOTICE "Using ${GEODE_CCACHE_VARIANT} with ${CMAKE_CXX_COMPILER_ID}, PCH will be enabled.")
|
message(NOTICE "Using ${GEODE_CCACHE_VARIANT} with ${CMAKE_CXX_COMPILER_ID}, PCH will be enabled.")
|
||||||
|
@ -146,7 +148,7 @@ if (DEFINED GEODE_CCACHE_VARIANT)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
|
if (APPLE)
|
||||||
# when building for multiple architectures, a caching compiler is not recommended
|
# when building for multiple architectures, a caching compiler is not recommended
|
||||||
message(NOTICE "Not using a caching compiler (ccache/sccache).")
|
message(NOTICE "Not using a caching compiler (ccache/sccache).")
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in a new issue