Skip to content

Commit

Permalink
Fix CI as standalone lib with bundled QCA
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed May 5, 2024
1 parent 929feb7 commit 6c283f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/xmpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,10 @@ target_link_libraries(iris

if(IRIS_BUNDLED_QCA)
add_dependencies(iris QcaProject)
target_include_directories(iris PUBLIC ${Qca_INCLUDE_DIR})
target_include_directories(iris PUBLIC
"$<BUILD_INTERFACE:${Qca_INCLUDE_DIR}>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/iris/qca>"
)
target_link_libraries(iris PUBLIC OpenSSL::SSL)
endif()

Expand Down

0 comments on commit 6c283f7

Please sign in to comment.