Skip to content

Commit

Permalink
Revert "Add missing system include workaround"
Browse files Browse the repository at this point in the history
This reverts commit b634886.

It didn't solve the problem.
  • Loading branch information
jagerman committed Jun 14, 2020
1 parent b634886 commit 843dbc4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ target_link_libraries(lokimq PRIVATE Threads::Threads)
set(lokimq_build_static_libzmq OFF)
if(TARGET libzmq)
target_link_libraries(lokimq PUBLIC libzmq)
# For some reason this system include path sometimes doesn't want to carry over, so copy it manually
get_property(libzmq_sysinc TARGET libzmq PROPERTY INTERFACE_SYSTEM_INCLUDE_DIRECTORIES)
if(libzmq_sysinc)
target_include_directories(lokimq SYSTEM PUBLIC ${libzmq_foo})
endif()
elseif(BUILD_SHARED_LIBS)
include(FindPkgConfig)
pkg_check_modules(libzmq libzmq>=4.3 IMPORTED_TARGET)
Expand Down

0 comments on commit 843dbc4

Please sign in to comment.