mirror of https://github.com/status-im/evmc.git
cmake: Rename EVMC_TEST_TOOLS to EVMC_TOOLS
This commit is contained in:
parent
13aabfdd71
commit
899996edd3
|
@ -11,8 +11,8 @@ endif()
|
|||
|
||||
option(EVMC_INSTALL "Enable EVMC installation (e.g. make install)" ON)
|
||||
option(EVMC_TESTING "Build EVMC examples, tests and test tools (i.e. everything)" OFF)
|
||||
option(EVMC_TEST_TOOLS "Build EVMC test tools" ${EVMC_TESTING})
|
||||
if(EVMC_TESTING OR EVMC_TEST_TOOLS)
|
||||
option(EVMC_TOOLS "Build EVMC tools" ${EVMC_TESTING})
|
||||
if(EVMC_TESTING OR EVMC_TOOLS)
|
||||
set(hunter_and_examples_required TRUE)
|
||||
endif()
|
||||
option(EVMC_EXAMPLES "Build EVMC examples" ${hunter_and_examples_required})
|
||||
|
@ -53,7 +53,7 @@ if(EVMC_TESTING)
|
|||
enable_testing()
|
||||
endif()
|
||||
|
||||
if(EVMC_TESTING OR EVMC_TEST_TOOLS)
|
||||
if(EVMC_TESTING OR EVMC_TOOLS)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue