Skip to content

Commit

Permalink
Optional test variable
Browse files Browse the repository at this point in the history
  • Loading branch information
maugarsb committed Dec 14, 2023
1 parent 0e46452 commit 54d2e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
# Dependencies
# ------------------------------------------------------------------------------
include(${PROJECT_UTILS_CMAKE_DIR}/find_or_fetch.cmake)
find_or_fetch_doctest()


# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -124,6 +123,7 @@ target_install(${PROJECT_NAME})
# ------------------------------------------------------------------------------
include(CTest)
if (${PROJECT_NAME}_ENABLE_TESTS)
find_or_fetch_doctest()
add_subdirectory(test)
endif()

Expand Down

0 comments on commit 54d2e15

Please sign in to comment.