summaryrefslogtreecommitdiffstats
path: root/Tests/JavaExportImport/BuildExport
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2017-04-20 19:11:27 (GMT)
committerMatthew Woehlke <matthew.woehlke@kitware.com>2017-04-21 14:51:09 (GMT)
commit0bee006602f07e26d052ba30541e6ce61a621b63 (patch)
tree571ff8e9b3a0762cfc1cf1773f6d2da736ec3120 /Tests/JavaExportImport/BuildExport
parent789c8de3df0c18fe8b0912286e4c1810542a79e9 (diff)
downloadCMake-0bee006602f07e26d052ba30541e6ce61a621b63.zip
CMake-0bee006602f07e26d052ba30541e6ce61a621b63.tar.gz
CMake-0bee006602f07e26d052ba30541e6ce61a621b63.tar.bz2
Tests: Test namespaces with exported JARs
Diffstat (limited to 'Tests/JavaExportImport/BuildExport')
-rw-r--r--Tests/JavaExportImport/BuildExport/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/JavaExportImport/BuildExport/CMakeLists.txt b/Tests/JavaExportImport/BuildExport/CMakeLists.txt
index 953f9d0..fa7e501 100644
--- a/Tests/JavaExportImport/BuildExport/CMakeLists.txt
+++ b/Tests/JavaExportImport/BuildExport/CMakeLists.txt
@@ -7,4 +7,7 @@ find_package(Java COMPONENTS Development)
include(UseJava)
add_jar(${PROJECT_NAME} Foo.java)
-export_jars(TARGETS ${PROJECT_NAME} FILE JavaBuildExportTestConfig.cmake)
+export_jars(
+ TARGETS ${PROJECT_NAME}
+ NAMESPACE foo::
+ FILE JavaBuildExportTestConfig.cmake)