aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/test_ports/try-compile/portfile.cmake
diff options
context:
space:
mode:
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