Skip to content

Commit

Permalink
Fixes link_libraries and include_directories calls for dyad_client IN…
Browse files Browse the repository at this point in the history
…TERFACE target
  • Loading branch information
ilumsden committed Sep 3, 2024
1 parent 7cc2cd5 commit 9e1a4f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dyad/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ endif()

set(DYAD_CLIENT_PUBLIC_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/../../../include/dyad/core/dyad.h)
add_library(${PROJECT_NAME}_client INTERFACE)
target_link_libraries(${PROJECT_NAME}_client PULBIC ${PROJECT_NAME}_ctx ${PROJECT_NAME}_core)
target_include_directories(${PROJECT_NAME}_client PUBLIC
target_link_libraries(${PROJECT_NAME}_client INTERFACE ${PROJECT_NAME}_ctx ${PROJECT_NAME}_core)
target_include_directories(${PROJECT_NAME}_client INTERFACE
$<INSTALL_INTERFACE:${DYAD_INSTALL_INCLUDE_DIR}>)

install(
Expand Down

0 comments on commit 9e1a4f5

Please sign in to comment.