diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-13 12:14:05 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-13 12:14:05 -0700 |
commit | 403dc2e4badec9ca88d778597df5108c78aa4c76 (patch) | |
tree | cb2746fd3a7bad8b2dc8a0e192010e7c3679e97d /host/CMakeLists.txt | |
parent | 508af598a1b32345a53522b4d6d71e021f448347 (diff) | |
download | uhd-403dc2e4badec9ca88d778597df5108c78aa4c76.tar.gz uhd-403dc2e4badec9ca88d778597df5108c78aa4c76.tar.bz2 uhd-403dc2e4badec9ca88d778597df5108c78aa4c76.zip |
uhd: add lib64 to boost library path when it exists (helps fedora 64)
Diffstat (limited to 'host/CMakeLists.txt')
-rw-r--r-- | host/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index c60372fb9..e26ec03d2 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -81,7 +81,11 @@ ENDIF(MSVC) ######################################################################## # Setup Boost ######################################################################## -SET(Boost_ADDITIONAL_VERSIONS "1.42.0" "1.42") +IF(EXISTS "/usr/lib64") + LIST(APPEND BOOST_LIBRARYDIR "/usr/lib64") #fedora 64-bit fix +ENDIF(EXISTS "/usr/lib64") + +SET(Boost_ADDITIONAL_VERSIONS "1.42.0" "1.42 1.43.0" "1.43") FIND_PACKAGE(Boost 1.36 REQUIRED COMPONENTS date_time filesystem |