Skip to content

Commit

Permalink
Include CTest in main CMakeLists.txt
Browse files Browse the repository at this point in the history
This allows to run tests created with add_test() by just running
ctest in the build directory. This line seems was (inadvertently?)
removed by commit 011b247.

Fixes: #78
  • Loading branch information
amadio authored and mpatrascoiu committed Sep 23, 2022
1 parent 3511109 commit b5dbc3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ endif()
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/deps/libneon/src/ ${UUID_INCLUDE_DIRS})
include_directories(${CMAKE_SOURCE_DIR}/include/davix)

include(CTest)

add_subdirectory (src)
add_subdirectory (doc)

Expand Down

0 comments on commit b5dbc3b

Please sign in to comment.