Explorar o código

FindBoost.cmake: Fixes 11246

FindBoost can find shared libraries (.so) in rare circumstances
even when Boost_USE_STATIC_LIBS is set
Philip Lowman %!s(int64=15) %!d(string=hai) anos
pai
achega
02390416e1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Modules/FindBoost.cmake

+ 1 - 1
Modules/FindBoost.cmake

@@ -800,7 +800,7 @@ ELSE (_boost_IN_CACHE)
     if(WIN32)
       set(CMAKE_FIND_LIBRARY_SUFFIXES .lib .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
     else()
-      set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES} )
+      set(CMAKE_FIND_LIBRARY_SUFFIXES .a )
     endif()
   endif()