cmake: Rename EVMC_TEST_TOOLS to EVMC_TOOLS

This commit is contained in:
Paweł Bylica 2019-11-27 10:55:45 +01:00
parent 13aabfdd71
commit 899996edd3
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 3 additions and 3 deletions

View File

@ -11,8 +11,8 @@ endif()
option(EVMC_INSTALL "Enable EVMC installation (e.g. make install)" ON) 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_TESTING "Build EVMC examples, tests and test tools (i.e. everything)" OFF)
option(EVMC_TEST_TOOLS "Build EVMC test tools" ${EVMC_TESTING}) option(EVMC_TOOLS "Build EVMC tools" ${EVMC_TESTING})
if(EVMC_TESTING OR EVMC_TEST_TOOLS) if(EVMC_TESTING OR EVMC_TOOLS)
set(hunter_and_examples_required TRUE) set(hunter_and_examples_required TRUE)
endif() endif()
option(EVMC_EXAMPLES "Build EVMC examples" ${hunter_and_examples_required}) option(EVMC_EXAMPLES "Build EVMC examples" ${hunter_and_examples_required})
@ -53,7 +53,7 @@ if(EVMC_TESTING)
enable_testing() enable_testing()
endif() endif()
if(EVMC_TESTING OR EVMC_TEST_TOOLS) if(EVMC_TESTING OR EVMC_TOOLS)
add_subdirectory(test) add_subdirectory(test)
endif() endif()