Commit 20d7f4a7 authored by Samuel Debionne's avatar Samuel Debionne

Remove hardcoded linker flags

parent 61ddfec9
......@@ -30,9 +30,6 @@ else()
endif()
set(PYLON_VERSION "5" CACHE STRING "Pylon version 3 or 5")
if(UNIX)
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--add-needed")
endif()
# Pylon SDK installer installs both 32 and 64 libs, so give find_library() single path
if(WIN32)
......@@ -128,7 +125,6 @@ if(WIN32)
endif()
endif()
limatools_set_library_soversion(lima${NAME} "VERSION")
if(WIN32)
set_target_properties(lima${NAME} PROPERTIES PREFIX "lib")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment