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.
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*).