1
0
Fork 0
forked from lthn/blockchain

Update CMakeLists.txt

This commit is contained in:
Snider 2025-10-07 02:29:17 +01:00 committed by GitHub
parent 79121dce71
commit 1c584e7c76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,23 +29,13 @@ if(POLICY CMP0167)
endif() endif()
include(DocBuilder) include(DocBuilder)
option (USE_CCACHE "Use ccache if a usable instance is found" ON) option (USE_CCACHE "Use ccache if a usable instance is found" OFF)
if (USE_CCACHE) if (USE_CCACHE)
include(FindCcache) include(FindCcache)
else() else()
message(STATUS "ccache deselected") message(STATUS "ccache deselected")
endif() endif()
#option (USE_CCACHE "Use ccache if a usable instance is found" ON)
#if (USE_CCACHE)
# include(FindCcache) # Has to be included after the project() macro, to be able to read the CXX variable.
#else()
# message(STATUS "ccache deselected")
#endif()
if(CMAKE_SYSTEM_NAME STREQUAL "iOS" OR CMAKE_SYSTEM_NAME STREQUAL "Android") if(CMAKE_SYSTEM_NAME STREQUAL "iOS" OR CMAKE_SYSTEM_NAME STREQUAL "Android")
add_definitions(-DMOBILE_WALLET_BUILD) add_definitions(-DMOBILE_WALLET_BUILD)
if(CMAKE_SYSTEM_NAME STREQUAL "iOS" ) if(CMAKE_SYSTEM_NAME STREQUAL "iOS" )