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

Commit 1d8b763

Browse files
committed
log4tango: Use BUILD_TESTING option
We don't want to determine that by the platform. Accompanying fix to a81c158 (CMakeLists.txt: Rework test suite handling, 2020-01-23).
1 parent 991373e commit 1d8b763

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)