File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ if(MSVC)
1616 add_compile_definitions (BOOST_IOSTREAMS_NO_LIB )
1717endif ()
1818
19+ if (ORE_USE_ZLIB)
20+ find_package (ZLIB REQUIRED )
21+ endif ()
22+
1923SET (COMPONENT_LIST date_time filesystem iostreams regex serialization system timer thread)
2024if (ORE_BUILD_TESTS)
2125 LIST (APPEND COMPONENT_LIST unit_test_framework)
Original file line number Diff line number Diff line change @@ -191,7 +191,8 @@ target_link_libraries(${OREA_LIB_NAME} ${QL_LIB_NAME})
191191target_link_libraries (${OREA_LIB_NAME} ${QLE_LIB_NAME} )
192192target_link_libraries (${OREA_LIB_NAME} ${ORED_LIB_NAME} )
193193target_link_libraries (${OREA_LIB_NAME} ${Boost_LIBRARIES} )
194- if (ZLIB_FOUND)
194+ if (ORE_USE_ZLIB)
195+ target_link_libraries (${OREA_LIB_NAME} ${ZLIB_LIBRARIES} )
195196 add_definitions (-DORE_USE_ZLIB )
196197endif ()
197198
You can’t perform that action at this time.
0 commit comments