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