mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
build: Fix default for BUILD_TESTING
This commit is contained in:
parent
39f217bd3b
commit
1a5c8bab88
|
@ -49,6 +49,7 @@ fairmq_build_option(FAIRMQ_DEBUG_MODE "Compile in debug mode (may decrease per
|
||||||
|
|
||||||
|
|
||||||
# Dependencies #################################################################
|
# Dependencies #################################################################
|
||||||
|
include(CTest)
|
||||||
include(FairMQDependencies)
|
include(FairMQDependencies)
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
include_guard(GLOBAL)
|
include_guard(GLOBAL)
|
||||||
|
|
||||||
include(CTest)
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
string(TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWER)
|
string(TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWER)
|
||||||
|
|
|
@ -22,9 +22,9 @@ macro(fairmq_summary_components)
|
||||||
endif()
|
endif()
|
||||||
message(STATUS " ${BWhite}fairmq${CR} ${fairmq_summary}")
|
message(STATUS " ${BWhite}fairmq${CR} ${fairmq_summary}")
|
||||||
if(BUILD_TESTING)
|
if(BUILD_TESTING)
|
||||||
set(tests_summary "${BGreen}YES${CR} (default, disable with ${BMagenta}-DBUILD_TESTING=OFF${CR})")
|
set(tests_summary "${BGreen}YES${CR} (disable with ${BMagenta}-DBUILD_TESTING=OFF${CR})")
|
||||||
else()
|
else()
|
||||||
set(tests_summary "${BRed} NO${CR} (enable with ${BMagenta}-DBUILD_TESTING=ON${CR})")
|
set(tests_summary "${BRed} NO${CR} (default, enable with ${BMagenta}-DBUILD_TESTING=ON${CR})")
|
||||||
endif()
|
endif()
|
||||||
message(STATUS " ${BWhite}tests${CR} ${tests_summary}")
|
message(STATUS " ${BWhite}tests${CR} ${tests_summary}")
|
||||||
if(BUILD_OFI_TRANSPORT)
|
if(BUILD_OFI_TRANSPORT)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user