1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Signed-off-by: Alexandra <alexandra.bach@eonerc.rwth-aachen.de>
This commit is contained in:
Alexandra 2024-05-02 12:08:18 +00:00
parent 89d1776b16
commit 320b2648ec

View file

@ -131,7 +131,7 @@ endif()
add_library(villas SHARED ${LIB_SRC})
target_include_directories(villas PUBLIC ${INCLUDE_DIRS})
target_link_libraries(villas PUBLIC ${LIBRARIES})
target_link_libraries(villas PRIVATE -Wl,--whole-archive ${WHOLE_ARCHIVES} -Wl,--no-whole-archive)
target_link_libraries(villas PRIVATE -Wl,-rpath,--whole-archive ${WHOLE_ARCHIVES} -Wl,-rpath,--no-whole-archive)
set_target_properties(villas PROPERTIES
VERSION ${CMAKE_PROJECT_VERSION}