From 2e72674528dca67cf2c885159765c7151cb2eda4 Mon Sep 17 00:00:00 2001 From: shivangg Date: Fri, 14 Oct 2016 15:17:13 +0530 Subject: [PATCH] Updated CMakeLists.txt Modified CMakeLists.txt to make Cmake search for and find Boost libraries in Windows. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad368fb..7045e48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 2.8.3) project(youbot_driver) +# to compile in Windows +set(Boost_USE_STATIC_LIBS ON) find_package(Boost REQUIRED COMPONENTS thread date_time filesystem system regex)