diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/fixed-math/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/fixed-math/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/fixed-math/portfile.cmake | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/fixed-math/portfile.cmake b/vcpkg/ports/fixed-math/portfile.cmake new file mode 100644 index 0000000..828e003 --- /dev/null +++ b/vcpkg/ports/fixed-math/portfile.cmake @@ -0,0 +1,24 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO arturbac/fixed_math + REF "v${VERSION}" + SHA512 fc1415e205cc5f2a63ad8019397c9aad082a7f256d050f894b3e2b6f3824396142333004a3a11a024594d7c95e5b302e8cab75faa9fc3563a5e04db1791efaf6 + HEAD_REF master + PATCHES + disable-cpm.patch +) + +set(VCPKG_BUILD_TYPE release) # header-only port + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DFIXEDMATH_ENABLE_UNIT_TESTS=OFF +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(PACKAGE_NAME fixed_math CONFIG_PATH lib/cmake/fixed_math) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENCE") |