mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
21 lines
704 B
Diff
21 lines
704 B
Diff
|
diff --git a/cmake/pcl_options.cmake b/cmake/pcl_options.cmake
|
||
|
index 6570d75..1d9b0d8 100644
|
||
|
--- a/cmake/pcl_options.cmake
|
||
|
+++ b/cmake/pcl_options.cmake
|
||
|
@@ -7,14 +7,13 @@ if(PCL_SHARED_LIBS)
|
||
|
set(PCL_LIB_SUFFIX ${CMAKE_SHARED_LIBRARY_SUFFIX})
|
||
|
set(PCL_LIB_TYPE "SHARED")
|
||
|
# set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_SHARED_LIBRARY_SUFFIX})
|
||
|
- if(WIN32)
|
||
|
+ if(0)
|
||
|
set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_IMPORT_LIBRARY_SUFFIX})
|
||
|
endif()
|
||
|
else()
|
||
|
set(PCL_LIB_PREFIX ${CMAKE_STATIC_LIBRARY_PREFIX})
|
||
|
set(PCL_LIB_SUFFIX ${CMAKE_STATIC_LIBRARY_SUFFIX})
|
||
|
set(PCL_LIB_TYPE "STATIC")
|
||
|
- set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_STATIC_LIBRARY_SUFFIX})
|
||
|
endif()
|
||
|
mark_as_advanced(PCL_SHARED_LIBS)
|
||
|
|