summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/LinkWhatYouUse/CXX.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/LinkWhatYouUse/CXX.cmake')
-rw-r--r--Tests/RunCMake/LinkWhatYouUse/CXX.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/LinkWhatYouUse/CXX.cmake b/Tests/RunCMake/LinkWhatYouUse/CXX.cmake
new file mode 100644
index 0000000..9555832
--- /dev/null
+++ b/Tests/RunCMake/LinkWhatYouUse/CXX.cmake
@@ -0,0 +1,4 @@
+enable_language(CXX)
+set(CMAKE_LINK_WHAT_YOU_USE TRUE)
+add_executable(main main.cxx)
+target_link_libraries(main m)