Skip to content

Commit

Permalink
Merge pull request #383 from yashi/cmake-fix-zmq-build-failure
Browse files Browse the repository at this point in the history
cmake: interfaces: zmq: Fix setting PIC flag to a wrong target
  • Loading branch information
johandc committed Aug 18, 2022
2 parents af06dee + ef7e22e commit f102726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces/CMakeLists.txt
Expand Up @@ -20,7 +20,7 @@ if(LIBZMQ_FOUND)
target_link_libraries(if_zmq PRIVATE ${LIBZMQ_LIBRARIES})
target_link_libraries(libcsp PRIVATE if_zmq)
if(BUILD_SHARED_LIBS)
set_property(TARGET driver_can PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET if_zmq PROPERTY POSITION_INDEPENDENT_CODE ON)
endif()
endif()

Expand Down

0 comments on commit f102726

Please sign in to comment.