mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
CPack option and .txt files installation dir
This commit is contained in:
parent
e80db0e8e5
commit
e95d23198f
@ -889,11 +889,7 @@ foreach (readme ${readme-docs})
|
||||
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/${readme} ${CMAKE_CURRENT_BINARY_DIR}/${readme}.txt)
|
||||
|
||||
if (NOT ZMQ_BUILD_FRAMEWORK)
|
||||
if (MSVC)
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${readme}.txt DESTINATION .)
|
||||
else ()
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${readme}.txt DESTINATION share/zmq)
|
||||
endif ()
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${readme}.txt DESTINATION share/zmq)
|
||||
endif ()
|
||||
endforeach ()
|
||||
|
||||
@ -903,8 +899,8 @@ if (WITH_DOC)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
|
||||
if (MSVC)
|
||||
option(ENABLE_CPACK "Enables cpack rules" ON)
|
||||
if (MSVC AND ENABLE_CPACK)
|
||||
include (InstallRequiredSystemLibraries)
|
||||
|
||||
if (CMAKE_CL_64)
|
||||
|
Loading…
x
Reference in New Issue
Block a user