Change TESTS option to ARBUTILS_TESTS
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
656de2ab17
commit
26db32299d
|
@ -16,7 +16,7 @@ endif()
|
|||
|
||||
option(WINDOWS "Whether the build target is Windows or not." OFF)
|
||||
option(SHARED "Whether we should build a shared library, instead of a static one." OFF)
|
||||
option(TESTS "Whether the test executable should be build as well." OFF)
|
||||
option(ARBUTILS_TESTS "Whether the test executable should be build as well." OFF)
|
||||
option(STATICC "Whether gcc and stdc++ should be linked statically to the library." OFF)
|
||||
option(PRETTYTRACES "Whether full stacktraces should be included. Note that this adds a dependency to libdw." ON)
|
||||
option(SIGNAL_HANDLING "whether to include signal handling." OFF)
|
||||
|
@ -90,7 +90,7 @@ if (STATICC)
|
|||
endif(STATICC)
|
||||
target_link_libraries(Arbutils ${LINKS})
|
||||
|
||||
if (TESTS)
|
||||
if (ARBUTILS_TESTS)
|
||||
CPMAddPackage(
|
||||
NAME doctest
|
||||
GITHUB_REPOSITORY doctest/doctest
|
||||
|
|
Loading…
Reference in New Issue