Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Commit 381f858

Browse files
authored
Merge pull request #743 from t-b/feature/use-testing-flag-for-log4tango
log4tango: Use BUILD_TESTING option
2 parents 991373e + 1d8b763 commit 381f858

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

log4tango/CMakeLists.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/config/config.cmake)
1212

1313
add_subdirectory(include)
1414
add_subdirectory(src)
15-
if (NOT WIN32)
15+
16+
if(BUILD_TESTING)
1617
add_subdirectory(tests)
17-
endif(NOT WIN32)
18+
endif()

0 commit comments

Comments
 (0)