Cmake: fix apple build (#420)

This commit is contained in:
proller 2017-01-30 20:11:43 +03:00 committed by GitHub
parent 48ed301e56
commit f3526cb592

View File

@ -55,7 +55,7 @@ option (ENABLE_TESTS "Enables tests" ON)
option (USE_STATIC_LIBRARIES "Set to FALSE to use shared libraries" ON) option (USE_STATIC_LIBRARIES "Set to FALSE to use shared libraries" ON)
if (USE_STATIC_LIBRARIES) if (USE_STATIC_LIBRARIES)
set (CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so") list(REVERSE CMAKE_FIND_LIBRARY_SUFFIXES)
endif () endif ()
set (USE_INTERNAL_BOOST_LIBRARY TRUE CACHE BOOL "Set to FALSE to use system boost library instead of bundled") set (USE_INTERNAL_BOOST_LIBRARY TRUE CACHE BOOL "Set to FALSE to use system boost library instead of bundled")