From 2f2943c7fab6c13ad2a8af3b87f7efdca7c1bd26 Mon Sep 17 00:00:00 2001 From: w0xel Date: Mon, 26 Nov 2018 17:06:33 +0100 Subject: [PATCH] Check for boost and make external boost possible --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7311294..1b07352 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,6 +45,9 @@ target_link_libraries(freesrp ${LIBUSB_1_LIBRARIES}) # Examples include_directories(${PROJECT_SOURCE_DIR}/include) +find_package(Boost REQUIRED) +include_directories(${Boost_INCLUDE_DIRS}) + # freesrp-io, using callbacks instead of busy waiting set(EXAMPLE_TEST_SOURCE_FILES ${PROJECT_SOURCE_DIR}/examples/io/main.cpp) add_executable(freesrp-io ${EXAMPLE_TEST_SOURCE_FILES})