Skip to content

Commit

Permalink
[ci] More granular linking to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Sep 23, 2023
1 parent cd9d567 commit 8e8f5ff
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/ossia_setup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,23 @@ target_link_libraries(ossia
$<BUILD_INTERFACE:readerwriterqueue::readerwriterqueue>
$<BUILD_INTERFACE:concurrentqueue::concurrentqueue>
$<BUILD_INTERFACE:websocketpp::websocketpp>
$<BUILD_INTERFACE:dr_libs::dr_libs>
$<BUILD_INTERFACE:perlinnoise::perlinnoise>
$<BUILD_INTERFACE:rapidjson::rapidjson>
$<BUILD_INTERFACE:rnd::rnd>
$<BUILD_INTERFACE:smallfun::smallfun>
$<BUILD_INTERFACE:span::span>
$<BUILD_INTERFACE:spdlog::spdlog>
$<BUILD_INTERFACE:tuplet::tuplet>
$<BUILD_INTERFACE:unordered_dense::unordered_dense>
)

if(OSSIA_DATAFLOW)
target_link_libraries(ossia
PUBLIC
$<BUILD_INTERFACE:dr_libs::dr_libs>
$<BUILD_INTERFACE:perlinnoise::perlinnoise>
$<BUILD_INTERFACE:rnd::rnd>
)
endif()

target_include_directories(ossia SYSTEM
PUBLIC
$<INSTALL_INTERFACE:include>
Expand Down

0 comments on commit 8e8f5ff

Please sign in to comment.