Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ports/caf/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Source: caf
Version: 0.17.6
Port-Version: 1
Homepage: https://github.com/actor-framework/actor-framework
Build-Depends: openssl
Description: an open source C++11 actor model implementation featuring lightweight & fast actor implementations, pattern matching for messages, network transparent messaging, and more.
6 changes: 5 additions & 1 deletion ports/caf/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR

file(INSTALL
${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/caf RENAME copyright)
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

file(COPY ${SOURCE_PATH}/cmake/FindCAF.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})

vcpkg_copy_pdbs()
5 changes: 5 additions & 0 deletions ports/caf/usage
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The package caf provides CMake targets:

find_package(CAF REQUIRED COMPONENTS core io)
target_include_directories(main PRIVATE ${CAF_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${CAF_LIBRARIES})
6 changes: 6 additions & 0 deletions ports/caf/vcpkg-cmake-wrapper.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
set(CAF_PREV_MODULE_PATH ${CMAKE_MODULE_PATH})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})

_find_package(${ARGS})

set(CMAKE_MODULE_PATH ${CAF_PREV_MODULE_PATH})