summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2009-02-10 03:39:31 (GMT)
committerPhilip Lowman <philip@yhbt.com>2009-02-10 03:39:31 (GMT)
commit17656ace033dcb9950f74cd0549abca8db3de385 (patch)
treef18938b5086f96ed8f1e6a47ad4313a14f214dbf /Modules/FindBoost.cmake
parentcae2da8d162667e3913cb87d4dc701176cc2406d (diff)
downloadCMake-17656ace033dcb9950f74cd0549abca8db3de385.zip
CMake-17656ace033dcb9950f74cd0549abca8db3de385.tar.gz
CMake-17656ace033dcb9950f74cd0549abca8db3de385.tar.bz2
BUG: Resolves Issue #8393, Remove workarounds in FindBoost once UNC-Path bug
is fixed
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r--Modules/FindBoost.cmake14
1 files changed, 2 insertions, 12 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 3dc6739..518f8a8 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -242,12 +242,7 @@ MACRO (_Boost_ADJUST_LIB_VARS basename)
ENDIF (Boost_${basename}_LIBRARY_DEBUG AND NOT Boost_${basename}_LIBRARY_RELEASE)
IF (Boost_${basename}_LIBRARY)
- IF(WIN32)
- # Workaround issue #8378.
- SET(Boost_${basename}_LIBRARY ${Boost_${basename}_LIBRARY} CACHE STRING "The Boost ${basename} library")
- ELSE()
- SET(Boost_${basename}_LIBRARY ${Boost_${basename}_LIBRARY} CACHE FILEPATH "The Boost ${basename} library")
- ENDIF()
+ set(Boost_${basename}_LIBRARY ${Boost_${basename}_LIBRARY} CACHE FILEPATH "The Boost ${basename} library")
# Remove superfluous "debug" / "optimized" keywords from
# Boost_LIBRARY_DIRS
@@ -257,12 +252,7 @@ MACRO (_Boost_ADJUST_LIB_VARS basename)
ENDFOREACH()
LIST(REMOVE_DUPLICATES Boost_LIBRARY_DIRS)
- IF(WIN32)
- # Workaround issue #8378.
- SET(Boost_LIBRARY_DIRS ${Boost_LIBRARY_DIRS} CACHE STRING "Boost library directory")
- ELSE()
- SET(Boost_LIBRARY_DIRS ${Boost_LIBRARY_DIRS} CACHE FILEPATH "Boost library directory")
- ENDIF()
+ set(Boost_LIBRARY_DIRS ${Boost_LIBRARY_DIRS} CACHE FILEPATH "Boost library directory")
SET(Boost_${basename}_FOUND ON CACHE INTERNAL "Whether the Boost ${basename} library found")
ENDIF (Boost_${basename}_LIBRARY)