mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 06:41:03 +08:00
Problem: cmake generates faulty xcode projects also for dynamic lib (#4042)
* apply the use of sources for xcode project also to dynamic library Co-authored-by: Stéphane Valès <stephane@vales.fr@users.noreply.github.com> Co-authored-by: stephane vales <vales@ingenuity.io>
This commit is contained in:
parent
c098fa3c18
commit
86bf83bce8
@ -1357,8 +1357,14 @@ else()
|
||||
add_library(libzmq SHARED ${sources} ${public_headers} ${html-docs} ${readme-docs} ${zmq-pkgconfig}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/version.rc)
|
||||
else()
|
||||
add_library(libzmq SHARED $<TARGET_OBJECTS:objects> ${public_headers} ${html-docs} ${readme-docs}
|
||||
${zmq-pkgconfig} ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
|
||||
if (CMAKE_GENERATOR STREQUAL "Xcode")
|
||||
add_library(libzmq SHARED ${sources} ${public_headers} ${html-docs} ${readme-docs}
|
||||
${zmq-pkgconfig} ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
|
||||
else()
|
||||
add_library(libzmq SHARED $<TARGET_OBJECTS:objects> ${public_headers} ${html-docs} ${readme-docs}
|
||||
${zmq-pkgconfig} ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
|
||||
endif()
|
||||
|
||||
endif()
|
||||
# NOTE: the SOVERSION and VERSION MUST be the same as the one generated by libtool! It is NOT the same as the
|
||||
# version of the package.
|
||||
|
Loading…
x
Reference in New Issue
Block a user