From bbf57e94e9f18b5f31a2ab784f97428898901492 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 16 Jul 2010 10:16:21 -0700 Subject: uhd: fix quotes for boost additional versions, restrict lib64 check to unix platforms --- host/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/CMakeLists.txt') diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index e26ec03d2..45e18993e 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -81,11 +81,11 @@ ENDIF(MSVC) ######################################################################## # Setup Boost ######################################################################## -IF(EXISTS "/usr/lib64") +IF(UNIX AND EXISTS "/usr/lib64") LIST(APPEND BOOST_LIBRARYDIR "/usr/lib64") #fedora 64-bit fix -ENDIF(EXISTS "/usr/lib64") +ENDIF(UNIX AND EXISTS "/usr/lib64") -SET(Boost_ADDITIONAL_VERSIONS "1.42.0" "1.42 1.43.0" "1.43") +SET(Boost_ADDITIONAL_VERSIONS "1.42.0" "1.42" "1.43.0" "1.43") FIND_PACKAGE(Boost 1.36 REQUIRED COMPONENTS date_time filesystem -- cgit v1.2.3