From 385701a7f4e971ecafec9e6077094d3dd85c70b6 Mon Sep 17 00:00:00 2001 From: Casey Langen Date: Tue, 14 Mar 2017 19:30:13 -0700 Subject: [PATCH] Ensure sigslot gets compiled with SIGSLOT_USE_POSIX_THREADS defined on *nix platforms. --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4af2b26be..87ff0585d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,10 +38,8 @@ set (BOOST_LIBS find_package(Boost 1.55.0 REQUIRED ${BOOST_LIBS}) -add_definitions (-DHAVE_BOOST - -D_FILE_OFFSET_BITS=64) -set (BOOST_LINK_LIBS - ${Boost_LIBRARIES}) +add_definitions (-DHAVE_BOOST -D_FILE_OFFSET_BITS=64 -DSIGSLOT_USE_POSIX_THREADS) +set (BOOST_LINK_LIBS ${Boost_LIBRARIES}) #message(STATUS "boost libs: " ${BOOST_LINK_LIBS}) #message(STATUS "boost includes: " ${Boost_INCLUDE_DIRS})