mirror of https://github.com/status-im/evmc.git
cmake: Make EVMC_EXAMPLES a dependant option of EVMC_TESTING
When EVMC_TESTING is ON, the EVMC_EXAMPLES is forced to be ON as well (user can control the value).
This commit is contained in:
parent
7f4d145090
commit
9b200a5bff
|
@ -25,7 +25,9 @@ option(EVMC_TESTING "Build everything (libraries, tools, examples, internal test
|
|||
cmake_dependent_option(EVMC_TOOLS "Build EVMC tools" OFF
|
||||
"NOT EVMC_TESTING" ON)
|
||||
|
||||
option(EVMC_EXAMPLES "Build EVMC examples" ${EVMC_TOOLS})
|
||||
cmake_dependent_option(EVMC_EXAMPLES "Build EVMC examples" OFF
|
||||
"NOT EVMC_TESTING" ON)
|
||||
|
||||
option(HUNTER_ENABLED "Enable Hunter package manager support" ${EVMC_TOOLS})
|
||||
|
||||
if(HUNTER_ENABLED)
|
||||
|
|
Loading…
Reference in New Issue