Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
gianlourbano authored Nov 26, 2024
1 parent 4a2d0aa commit 50c4a24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/vdemgmt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ endif()
set_target_properties(vdemgmt PROPERTIES
VERSION 0.0.1
SOVERSION 0
LINK_FLAGS "-export-dynamic"
)

target_link_libraries(vdemgmt PRIVATE vdecmmon)


# Install pkgconfig file
configure_file(vdemgmt.pc.in ${CMAKE_CURRENT_BINARY_DIR}/vdemgmt.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/vdemgmt.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)

# Install the library
install(TARGETS vdemgmt LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(TARGETS vdemgmt LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})

0 comments on commit 50c4a24

Please sign in to comment.