summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPaul Cercueil <paul.cercueil@analog.com>2016-11-09 12:51:17 +0100
committerJohnathan Corgan <johnathan@corganlabs.com>2016-11-11 11:39:44 -0800
commit660e500fd6cd4e5e4189ea9bd42c035bf8b8eb31 (patch)
tree76a30d0210e7c67075e900387a445992bd18257b /cmake
parentedfbbc19525bbf36de7a3890479d748711ed8d03 (diff)
CMake: GrBoost: Remove old workaround
With recent versions of mingw-w64, or maybe with recent versions of Boost, the 'thread' component of Boost correctly points to the Win32 variant when building under MinGW. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/GrBoost.cmake7
1 files changed, 1 insertions, 6 deletions
diff --git a/cmake/Modules/GrBoost.cmake b/cmake/Modules/GrBoost.cmake
index 6e036a5bdc..1cf8e65a11 100644
--- a/cmake/Modules/GrBoost.cmake
+++ b/cmake/Modules/GrBoost.cmake
@@ -32,14 +32,9 @@ set(BOOST_REQUIRED_COMPONENTS
filesystem
system
regex
+ thread
)
-if (MINGW)
- set(BOOST_REQUIRED_COMPONENTS ${BOOST_REQUIRED_COMPONENTS} thread_win32)
-else(MINGW)
- set(BOOST_REQUIRED_COMPONENTS ${BOOST_REQUIRED_COMPONENTS} thread)
-endif(MINGW)
-
if(UNIX AND NOT BOOST_ROOT AND EXISTS "/usr/lib64")
list(APPEND BOOST_LIBRARYDIR "/usr/lib64") #fedora 64-bit fix
endif(UNIX AND NOT BOOST_ROOT AND EXISTS "/usr/lib64")