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