Allows Unix systems with /usr/lib64 to use Boost installations in non-

this was taken from:

http://gnuradio.org/cgit/gnuradio.git/commit/?id=648214ef4a77b5eb22f4e9715a7469ddc02583c1
This commit is contained in:
Dimitri Stolnikov 2013-02-10 18:01:53 +01:00
parent 91a93a39bc
commit 32dacffe84
1 changed files with 2 additions and 2 deletions

View File

@ -68,9 +68,9 @@ SET(BOOST_REQUIRED_COMPONENTS
system
)
if(UNIX AND EXISTS "/usr/lib64")
if(UNIX AND NOT BOOST_ROOT AND EXISTS "/usr/lib64")
list(APPEND BOOST_LIBRARYDIR "/usr/lib64") #fedora 64-bit fix
endif(UNIX AND EXISTS "/usr/lib64")
endif(UNIX AND NOT BOOST_ROOT AND EXISTS "/usr/lib64")
set(Boost_ADDITIONAL_VERSIONS
"1.35.0" "1.35" "1.36.0" "1.36" "1.37.0" "1.37" "1.38.0" "1.38" "1.39.0" "1.39"