mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-08 13:49:47 +00:00
Include CTest instead of calling enable_testing() manually
This commit is contained in:
parent
609f5db623
commit
a9bb28d0a8
2 changed files with 4 additions and 7 deletions
|
@ -19,6 +19,7 @@ include(GetGitRevisionDescription)
|
|||
include(Buildlibpqtypes)
|
||||
include(gccversion)
|
||||
include(CPack)
|
||||
include(CTest)
|
||||
include(timestamp)
|
||||
|
||||
option(DINDEXER_DEBUG_CFG_FILE "Enable to set the config file path to the build path" OFF)
|
||||
|
@ -114,7 +115,6 @@ add_subdirectory(src/navigate)
|
|||
|
||||
#Tests
|
||||
if (BUILD_TESTING)
|
||||
enable_testing()
|
||||
add_subdirectory(test/gtest)
|
||||
add_subdirectory(test/unit)
|
||||
add_subdirectory(test/unit_cli)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue