summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/MaxRecursionDepth/try_compile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/MaxRecursionDepth/try_compile.cmake')
-rw-r--r--Tests/RunCMake/MaxRecursionDepth/try_compile.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/MaxRecursionDepth/try_compile.cmake b/Tests/RunCMake/MaxRecursionDepth/try_compile.cmake
new file mode 100644
index 0000000..c40fb06
--- /dev/null
+++ b/Tests/RunCMake/MaxRecursionDepth/try_compile.cmake
@@ -0,0 +1,6 @@
+try_compile(result
+ "${CMAKE_CURRENT_BINARY_DIR}/try_compile"
+ "${CMAKE_CURRENT_SOURCE_DIR}/try_compile"
+ try_compile
+ CMAKE_FLAGS -Dx:STRING=3
+ )