]> sigrok.org Git - pulseview.git/commitdiff
Set explicit BOOST_ROOT on Windows/MinGW.
authorUwe Hermann <redacted>
Thu, 11 Oct 2012 14:55:20 +0000 (16:55 +0200)
committerUwe Hermann <redacted>
Thu, 11 Oct 2012 21:04:51 +0000 (23:04 +0200)
CMakeLists.txt

index 0ed74e444af5e5284b767753f75bb897ebfde534..afbe0df89afcb2aa311bf823b6bc302fdeb23cec 100644 (file)
@@ -9,6 +9,11 @@ pkg_check_modules(PKGDEPS REQUIRED
        libsigrok>=0.2.0
 )
 
        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)
 
 find_package(Qt4 REQUIRED)
 find_package(Boost 1.46 COMPONENTS unit_test_framework REQUIRED)