Skip to content

Commit

Permalink
Try fix vcpkg GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
leemaguire committed May 23, 2024
1 parent 5159447 commit 0f879b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ports/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_path(GET CMAKE_CURRENT_LIST_DIR PARENT_PATH SOURCE_PATH)

set(CPPREALM_CMAKE_OPTIONS -DREALM_CPP_NO_TESTS=ON -DREALM_CORE_SUBMODULE_BUILD=OFF)
set(CPPREALM_CMAKE_OPTIONS -DREALM_CPP_NO_TESTS=ON)

if (ANDROID OR WIN32 OR CMAKE_SYSTEM_NAME STREQUAL "Linux")
list(APPEND CPPREALM_CMAKE_OPTIONS -DREALM_USE_SYSTEM_OPENSSL=ON)
Expand Down Expand Up @@ -37,7 +37,8 @@ string(REGEX REPLACE "\\{([^()]*)\\}" "
" MODIFIED_HEADER "${DEBUG_TYPE_HEADER_CONTENTS}")

file(WRITE ${CURRENT_PACKAGES_DIR}/include/cpprealm/internal/bridge/bridge_types.hpp "${MODIFIED_HEADER}")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")

file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

0 comments on commit 0f879b5

Please sign in to comment.