]> sigrok.org Git - pulseview.git/commitdiff
MinGW: Drop hardcoded BOOST_ROOT.
authorUwe Hermann <redacted>
Sun, 20 Jan 2013 16:11:51 +0000 (17:11 +0100)
committerUwe Hermann <redacted>
Sun, 20 Jan 2013 16:11:51 +0000 (17:11 +0100)
This was somewhat useful when PulseView only needed header-only parts of
Boost, but since boost-thread is now also needed this is not sufficient
anymore and needs a different setup for native MinGW builds on Windows.

Cross-compile builds using 'sigrok-cross-mingw' from sigrok-util work
fine without it, though.

CMakeLists.txt

index f9c53f4062b0bbd3e719d8ed5665adb7872d90f9..c9173047561efcb59efb93ae15a9a72305d48e55 100644 (file)
@@ -53,11 +53,6 @@ pkg_check_modules(PKGDEPS REQUIRED
 
 find_package(Qt4 REQUIRED)
 
-# On Windows/MinGW we explicitly point cmake to the Boost directory.
-if(WIN32)
-       set(BOOST_ROOT /usr/local)
-endif()
-
 if(WIN32)
 # On Windows/MinGW the we need to use 'thread_win32' instead of 'thread'.
 # The library is named libboost_thread_win32* (not libboost_thread*).