mirror of https://github.com/oxen-io/oxen-mq.git
fix linkage for submodule dep use
This commit is contained in:
parent
fd95919704
commit
b0c3bd4ee9
|
@ -72,7 +72,7 @@ target_link_libraries(oxenmq PRIVATE Threads::Threads)
|
|||
if(TARGET oxenc::oxenc)
|
||||
add_library(_oxenmq_external_oxenc INTERFACE IMPORTED)
|
||||
target_link_libraries(_oxenmq_external_oxenc INTERFACE oxenc::oxenc)
|
||||
target_link_libraries(oxenmq INTERFACE _oxenmq_external_oxenc)
|
||||
target_link_libraries(oxenmq PUBLIC _oxenmq_external_oxenc)
|
||||
message(STATUS "using pre-existing oxenc::oxenc target")
|
||||
elseif(BUILD_SHARED_LIBS)
|
||||
include(FindPkgConfig)
|
||||
|
|
Loading…
Reference in New Issue