We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d855a80 commit d34e6fcCopy full SHA for d34e6fc
source/pdal/CMakeLists.txt
@@ -1,5 +1,7 @@
1
set(TARGET pdalc)
2
3
+option(BUILD_SHARED_LIBS "Build using shared libraries" ON)
4
+
5
find_package(PDAL REQUIRED CONFIG)
6
message(STATUS "Found PDAL ${PDAL_VERSION}")
7
@@ -38,7 +40,7 @@ include_directories(
38
40
39
41
add_definitions(${PDAL_DEFINITIONS})
42
-add_library(${TARGET} SHARED ${SOURCES} ${HEADERS})
43
+add_library(${TARGET} ${SOURCES} ${HEADERS})
44
45
string(TOUPPER "${TARGET}_BUILD_DLL" BUILD_SYMBOL)
46
0 commit comments