From 4cd24a7573ef355b638b6751ecfbd324be6510eb Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 11 Oct 2012 16:55:20 +0200 Subject: [PATCH] Set explicit BOOST_ROOT on Windows/MinGW. --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ed74e44..afbe0df8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,11 @@ pkg_check_modules(PKGDEPS REQUIRED libsigrok>=0.2.0 ) +# On Windows/MinGW we explicitly point cmake to the Boost directory. +if(WIN32) +set(BOOST_ROOT /usr/local) +endif(WIN32) + find_package(Qt4 REQUIRED) find_package(Boost 1.46 COMPONENTS unit_test_framework REQUIRED) -- 2.30.2