forked from lthn/blockchain
Update CMakeLists.txt
This commit is contained in:
parent
79121dce71
commit
1c584e7c76
1 changed files with 1 additions and 11 deletions
|
|
@ -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" )
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue