vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO lunarmodules/luasec REF "v${VERSION}" SHA512 8f0c4b5ff87c024685b23770e1d342467554b8dc19a1704076e184d9e84b966f171091c31d1da135ab009e850275adc2bf2720fc9f32c83ac23f0a42f13d311f HEAD_REF master ) file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} ) vcpkg_cmake_install() vcpkg_copy_pdbs() # Remove debug share file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) # Handle copyright vcpkg_install_copyright(FILE_LIST ${SOURCE_PATH}/LICENSE) # Allow empty include directory set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)