]> sigrok.org Git - pulseview.git/blobdiff - CMakeLists.txt
Set explicit BOOST_ROOT on Windows/MinGW.
[pulseview.git] / 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)