mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[cmake] do not set NO_SONAME
if set the linker might insert full paths to dependencies
This commit is contained in:
parent
f62a61886f
commit
00cd1c7130
@ -64,7 +64,7 @@ macro(AddTargetWithResourceFile nameAndTarget is_exe version sources)
|
|||||||
|
|
||||||
set(OUTPUT_FILENAME "${name}")
|
set(OUTPUT_FILENAME "${name}")
|
||||||
if (VERSIONING)
|
if (VERSIONING)
|
||||||
set(OUTPUT_FILENAME "${name}${RC_VERSION_MAJOR}")
|
string(APPEND OUTPUT_FILENAME "${RC_VERSION_MAJOR}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (IS_EXE)
|
if (IS_EXE)
|
||||||
@ -80,7 +80,7 @@ macro(AddTargetWithResourceFile nameAndTarget is_exe version sources)
|
|||||||
PROPERTIES
|
PROPERTIES
|
||||||
OUTPUT_NAME ${OUTPUT_FILENAME}
|
OUTPUT_NAME ${OUTPUT_FILENAME}
|
||||||
)
|
)
|
||||||
set (OUTPUT_FILENAME "${OUTPUT_FILENAME}${CMAKE_EXECUTABLE_SUFFIX}" )
|
string(APPEND OUTPUT_FILENAME "${CMAKE_EXECUTABLE_SUFFIX}")
|
||||||
else()
|
else()
|
||||||
message("add_library(${target}) [${lib_options}]")
|
message("add_library(${target}) [${lib_options}]")
|
||||||
add_library(${target}
|
add_library(${target}
|
||||||
@ -96,7 +96,6 @@ macro(AddTargetWithResourceFile nameAndTarget is_exe version sources)
|
|||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
set_target_properties(${target} PROPERTIES PREFIX "")
|
set_target_properties(${target} PROPERTIES PREFIX "")
|
||||||
set_target_properties(${target} PROPERTIES NO_SONAME 1)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_target_properties(
|
set_target_properties(
|
||||||
|
Loading…
Reference in New Issue
Block a user