Change TESTS option to ARBUTILS_TESTS
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2022-02-05 15:45:11 +01:00
parent 656de2ab17
commit 26db32299d
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ endif()
option(WINDOWS "Whether the build target is Windows or not." OFF) 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(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(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(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) option(SIGNAL_HANDLING "whether to include signal handling." OFF)
@ -90,7 +90,7 @@ if (STATICC)
endif(STATICC) endif(STATICC)
target_link_libraries(Arbutils ${LINKS}) target_link_libraries(Arbutils ${LINKS})
if (TESTS) if (ARBUTILS_TESTS)
CPMAddPackage( CPMAddPackage(
NAME doctest NAME doctest
GITHUB_REPOSITORY doctest/doctest GITHUB_REPOSITORY doctest/doctest