1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-16 03:34:56 +02:00

CMakeLists.txt: CTest already defines "BUILD_TESTING" variable. so we do not have to use our own.

This commit is contained in:
Henrik Hautakoski 2023-03-14 21:17:50 +01:00
parent 5f2fa977c3
commit d7cdf9476d

View file

@ -73,12 +73,13 @@ target_include_directories( ${LIB_NAME}
# Tests
# --------------------------------
if (ENABLE_TESTING)
include(CTest)
if (BUILD_TESTING)
# enable testing functionality
include(CTest)
enable_testing()
add_subdirectory( tests )
endif (ENABLE_TESTING)
endif (BUILD_TESTING)
# --------------------------------
# Install