mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-27 04:43:41 +02:00
CMakeLists.txt: CTest already defines "BUILD_TESTING" variable. so we do not have to use our own.
This commit is contained in:
parent
5f2fa977c3
commit
d7cdf9476d
1 changed files with 4 additions and 3 deletions
|
|
@ -73,12 +73,13 @@ target_include_directories( ${LIB_NAME}
|
||||||
# Tests
|
# Tests
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
|
|
||||||
if (ENABLE_TESTING)
|
include(CTest)
|
||||||
|
|
||||||
|
if (BUILD_TESTING)
|
||||||
# enable testing functionality
|
# enable testing functionality
|
||||||
include(CTest)
|
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_subdirectory( tests )
|
add_subdirectory( tests )
|
||||||
endif (ENABLE_TESTING)
|
endif (BUILD_TESTING)
|
||||||
|
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
# Install
|
# Install
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue