We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 258e329 + 1eb5971 commit b488530Copy full SHA for b488530
1 file changed
util/CMakeLists.txt
@@ -6,7 +6,7 @@ include_directories(
6
include_directories(SYSTEM
7
${ODB_INCLUDE_DIRS})
8
9
-add_library(util STATIC
+add_library(util SHARED
10
src/dbutil.cpp
11
src/dynamiclibrary.cpp
12
src/filesystem.cpp
@@ -17,13 +17,14 @@ add_library(util STATIC
17
src/pipedprocess.cpp
18
src/util.cpp)
19
20
-target_compile_options(util PUBLIC -fPIC)
21
-
22
target_link_libraries(util
+ gvc
23
${Boost_LIBRARIES})
24
25
string(TOLOWER "${DATABASE}" _database)
26
if (${_database} STREQUAL "sqlite")
27
28
sqlite3)
29
endif()
+
30
+install(TARGETS util DESTINATION ${INSTALL_LIB_DIR})
0 commit comments