summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/export/AppendExport.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/export/AppendExport.cmake')
-rw-r--r--Tests/RunCMake/export/AppendExport.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/export/AppendExport.cmake b/Tests/RunCMake/export/AppendExport.cmake
index f36010b..2a99dfc 100644
--- a/Tests/RunCMake/export/AppendExport.cmake
+++ b/Tests/RunCMake/export/AppendExport.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