summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/export/OldIface.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-21 18:27:00 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-21 18:29:10 (GMT)
commit3b09398ae27f0e4b5975920ac2787427ffc6ccc4 (patch)
tree0222213d02f770bd5d611815045805d6fb215e6d /Tests/RunCMake/export/OldIface.cmake
parent265b9db7c2c865c5aad821bf9a377ea84dfe431e (diff)
downloadCMake-3b09398ae27f0e4b5975920ac2787427ffc6ccc4.zip
CMake-3b09398ae27f0e4b5975920ac2787427ffc6ccc4.tar.gz
CMake-3b09398ae27f0e4b5975920ac2787427ffc6ccc4.tar.bz2
Tests: Teach RunCMake.export to enable languages only when needed
Diffstat (limited to 'Tests/RunCMake/export/OldIface.cmake')
-rw-r--r--Tests/RunCMake/export/OldIface.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/export/OldIface.cmake b/Tests/RunCMake/export/OldIface.cmake
index 5fb8e25..833b023 100644
--- a/Tests/RunCMake/export/OldIface.cmake
+++ b/Tests/RunCMake/export/OldIface.cmake
@@ -1,3 +1,4 @@
+enable_language(CXX)
add_library(foo empty.cpp)
export(TARGETS foo FILE "${CMAKE_CURRENT_BINARY_DIR}/foo.cmake")
install(TARGETS foo EXPORT fooExport