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:
Pawel Kurdybacha 2018-07-04 22:30:22 +01:00
parent 837c0c9a97
commit 4a066be66a

View File

@ -31,8 +31,6 @@ endif()
if(NOT TARGET @PROJECT_NAME@)
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@_LIBRARY libzmq LOCATION)
get_target_property(@PROJECT_NAME@_STATIC_LIBRARY libzmq-static LOCATION)
endif()