mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 21:57:49 +08:00
17 lines
528 B
Diff
17 lines
528 B
Diff
|
diff --git a/cmake/libraries.cmake b/cmake/libraries.cmake
|
||
|
index dae98ea..edab055 100644
|
||
|
--- a/cmake/libraries.cmake
|
||
|
+++ b/cmake/libraries.cmake
|
||
|
@@ -3,11 +3,7 @@
|
||
|
option(PDAL_BUILD_STATIC "Build PDAL as a static library" OFF)
|
||
|
if (PDAL_BUILD_STATIC)
|
||
|
set(PDAL_LIB_TYPE "STATIC")
|
||
|
- set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_STATIC_LIBRARY_SUFFIX})
|
||
|
else ()
|
||
|
set(PDAL_LIB_TYPE "SHARED")
|
||
|
- if (WIN32)
|
||
|
- set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_IMPORT_LIBRARY_SUFFIX})
|
||
|
- endif()
|
||
|
endif()
|
||
|
mark_as_advanced(PDAL_BUILD_STATIC)
|