vcpkg-registry

Registry containing personal projects
git clone git://git.dimitrijedobrota.com/vcpkg-registry.git
Log | Files | Refs |

portfile.cmake (625B)


1 vcpkg_from_git( 2 OUT_SOURCE_PATH SOURCE_PATH 3 URL git://git.dimitrijedobrota.com/poafloc.git 4 REF 5c4cf9d0404e3ccdfd69206e6d9faeef1203666a 5 HEAD_REF master 6 ) 7 8 set(name poafloc) 9 10 vcpkg_cmake_configure( 11 SOURCE_PATH "${SOURCE_PATH}" 12 OPTIONS 13 "-D${name}_INSTALL_CMAKEDIR=share/${name}" 14 OPTIONS_DEBUG 15 "-D${name}_INSTALL_HEADERS=OFF" 16 ) 17 18 # set(VCPKG_BUILD_TYPE release) # header-only 19 20 vcpkg_cmake_install() 21 vcpkg_cmake_config_fixup(PACKAGE_NAME "${name}") 22 vcpkg_copy_pdbs() 23 24 25 configure_file( 26 "${SOURCE_PATH}/LICENSE.md" 27 "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" 28 COPYONLY 29 )