mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
585ff442dd
* [jansson] cleanup * version * Roll back version * version * Unsupported on UWP * version * patch * Remove supports * version
14 lines
591 B
Diff
14 lines
591 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 39b9ad3..ed33e3c 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -342,7 +342,7 @@ if(JANSSON_BUILD_SHARED_LIBS)
|
|
)
|
|
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/jansson.sym")
|
|
if (VSCRIPT_WORKS)
|
|
- set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/jansson.sym")
|
|
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/jansson.sym")
|
|
endif()
|
|
endif()
|
|
|