From: Uwe Hermann Date: Thu, 11 Oct 2012 14:55:20 +0000 (+0200) Subject: Set explicit BOOST_ROOT on Windows/MinGW. X-Git-Tag: pulseview-0.1.0~279 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4cd24a7573ef355b638b6751ecfbd324be6510eb;p=pulseview.git Set explicit BOOST_ROOT on Windows/MinGW. --- 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)