aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/test_ports/try-compile/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/scripts/test_ports/try-compile/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/scripts/test_ports/try-compile/portfile.cmake')
-rw-r--r--vcpkg/scripts/test_ports/try-compile/portfile.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/vcpkg/scripts/test_ports/try-compile/portfile.cmake b/vcpkg/scripts/test_ports/try-compile/portfile.cmake
new file mode 100644
index 0000000..b7c364e
--- /dev/null
+++ b/vcpkg/scripts/test_ports/try-compile/portfile.cmake
@@ -0,0 +1,9 @@
+
+string(APPEND VCPKG_C_FLAGS " -DVCPKG_LET_ME_PASS")
+string(APPEND VCPKG_CXX_FLAGS " -DVCPKG_LET_ME_PASS")
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${CMAKE_CURRENT_LIST_DIR}"
+)
+
+set(VCPKG_POLICY_EMPTY_PACKAGE enabled) \ No newline at end of file