Skip to content

Commit

Permalink
cleanup cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
MALASHKIN Andrei committed May 20, 2024
1 parent 643884f commit a18e6b5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ include(CMConfig)
include(CMSetupVersion)

option(BUILD_WITH_CI_KNOWN_ISSUES_SUPPRESS "Build for CI suppressing known issues" FALSE)
option(BUILD_TESTS "Build unit tests" FALSE)

if(BUILD_WITH_CI_KNOWN_ISSUES_SUPPRESS)
add_definitions(-DCI_SUPPRESS_KNOWN_ISSUES)
Expand Down Expand Up @@ -92,6 +91,5 @@ cm_deploy(TARGETS ${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME}
INCLUDE ${CURRENT_SOURCES_DIR}/include
NAMESPACE ${CMAKE_WORKSPACE_NAME}::)

if(BUILD_TESTS)
add_subdirectory(test)
endif()
include(CMTest)
cm_add_test_subdirectory(test)

0 comments on commit a18e6b5

Please sign in to comment.