소스 검색

BUG: Resolves Issue #8393, Remove workarounds in FindBoost once UNC-Path bug
is fixed

Philip Lowman 17 년 전
부모
커밋
17656ace03
1개의 변경된 파일2개의 추가작업 그리고 12개의 파일을 삭제
  1. 2 12
      Modules/FindBoost.cmake

+ 2 - 12
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)