Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Commit

Permalink
Moving include(CTest) into 'if testing' guard
Browse files Browse the repository at this point in the history
  • Loading branch information
jrepp authored and alkurbatov committed Aug 6, 2022
1 parent 44b561e commit 61fc8f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,10 @@ endif()
add_subdirectory(src)

# Enable the testing of the library/executable
include(CTest)

if (CIVETWEB_BUILD_TESTING)
include(CTest)

# Check unit testing framework Version
set(CIVETWEB_CHECK_VERSION 0.11.0 CACHE STRING
"The version of Check unit testing framework to build and include statically")
Expand Down

0 comments on commit 61fc8f8

Please sign in to comment.