Skip to content

Commit 4a066be

Browse files
committed
Problem: #209 cppzmq fails with cmake 3.6.3 and above
Solution: remove problematic cmake lines as they seem to be not necessary.
1 parent 837c0c9 commit 4a066be

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

cppzmqConfig.cmake.in

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ if(NOT ZeroMQ_FOUND)
3030
endif()
3131

3232
if(NOT TARGET @PROJECT_NAME@)
33-
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
34-
35-
get_target_property(@PROJECT_NAME@_INCLUDE_DIR cppzmq INTERFACE_INCLUDE_DIRECTORIES)
36-
get_target_property(@PROJECT_NAME@_LIBRARY libzmq LOCATION)
37-
get_target_property(@PROJECT_NAME@_STATIC_LIBRARY libzmq-static LOCATION)
33+
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
34+
get_target_property(@PROJECT_NAME@_INCLUDE_DIR cppzmq INTERFACE_INCLUDE_DIRECTORIES)
3835
endif()
36+

0 commit comments

Comments
 (0)