Skip to content

Commit

Permalink
Minor CMake build configuration updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
nemothenoone committed Aug 13, 2019
1 parent 16c1041 commit f90153c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ include(CMSetupVersion)
cm_setup_version(VERSION 1.70.0)

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

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

add_subdirectory(test)
if(BUILD_UNIT_TESTS)
add_subdirectory(test)
endif()

0 comments on commit f90153c

Please sign in to comment.