From a8369d07b7ac9b906b28e944f2452430b8f2dca3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 20 Jan 2013 17:11:51 +0100 Subject: [PATCH] MinGW: Drop hardcoded BOOST_ROOT. 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 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9c53f40..c9173047 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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*). -- 2.30.2