From 7e30f35cfc42ac3983dfa281d554df9aa9485a99 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sat, 1 Oct 2016 10:02:15 +0200 Subject: Fixes the build for mxe-cross-builds, and if building shared libraries. --- liblog/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'liblog') diff --git a/liblog/CMakeLists.txt b/liblog/CMakeLists.txt index cb4ce84..3ecce93 100644 --- a/liblog/CMakeLists.txt +++ b/liblog/CMakeLists.txt @@ -18,7 +18,7 @@ target_compile_options(log ) target_link_libraries(log - PRIVATE Boost::log PRIVATE Boost::system + PUBLIC Boost::log PUBLIC ${CMAKE_THREAD_LIBS_INIT} ) \ No newline at end of file -- cgit v1.2.3-70-g09d2