We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d09ded commit e782d18Copy full SHA for e782d18
1 file changed
OREAnalytics/CMakeLists.txt
@@ -20,7 +20,7 @@ SET(COMPONENT_LIST date_time filesystem iostreams regex serialization system tim
20
if (ORE_BUILD_TESTS)
21
LIST(APPEND COMPONENT_LIST unit_test_framework)
22
endif()
23
-if(ORE_USE_ZLIB)
+if(MSVC AND ORE_USE_ZLIB)
24
LIST(APPEND COMPONENT_LIST zlib)
25
26
find_package (Boost REQUIRED COMPONENTS ${COMPONENT_LIST} OPTIONAL_COMPONENTS chrono)
0 commit comments