mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 10:33:52 +01:00
Problem: #209 cppzmq fails with cmake 3.6.3 and above
Solution: remove problematic cmake lines as they seem to be not necessary.
This commit is contained in:
parent
837c0c9a97
commit
4a066be66a
@ -30,9 +30,7 @@ if(NOT ZeroMQ_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT TARGET @PROJECT_NAME@)
|
if(NOT TARGET @PROJECT_NAME@)
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
||||||
|
get_target_property(@PROJECT_NAME@_INCLUDE_DIR cppzmq INTERFACE_INCLUDE_DIRECTORIES)
|
||||||
get_target_property(@PROJECT_NAME@_INCLUDE_DIR cppzmq INTERFACE_INCLUDE_DIRECTORIES)
|
|
||||||
get_target_property(@PROJECT_NAME@_LIBRARY libzmq LOCATION)
|
|
||||||
get_target_property(@PROJECT_NAME@_STATIC_LIBRARY libzmq-static LOCATION)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user