summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0026/ObjlibNotDefined.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-07 13:18:35 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-05-07 13:18:35 (GMT)
commit295cf31ca6c377ee04e6d384137e85fe9ff7eb1d (patch)
treef9797c62a2e34c0fd4ce2f6a25959d02a75584fc /Tests/RunCMake/CMP0026/ObjlibNotDefined.cmake
parent080a80457b6b08376e818a8cf6d6a0378465fbfa (diff)
parentd648c4766ff56907bc17287077eeebcc9e40b184 (diff)
downloadCMake-295cf31ca6c377ee04e6d384137e85fe9ff7eb1d.zip
CMake-295cf31ca6c377ee04e6d384137e85fe9ff7eb1d.tar.gz
CMake-295cf31ca6c377ee04e6d384137e85fe9ff7eb1d.tar.bz2
Merge topic 'no-assert-missing-objlib'
d648c476 cmTarget: Don't assert on object libraries for configure-time location.
Diffstat (limited to 'Tests/RunCMake/CMP0026/ObjlibNotDefined.cmake')
-rw-r--r--Tests/RunCMake/CMP0026/ObjlibNotDefined.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0026/ObjlibNotDefined.cmake b/Tests/RunCMake/CMP0026/ObjlibNotDefined.cmake
new file mode 100644
index 0000000..194760c
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/ObjlibNotDefined.cmake
@@ -0,0 +1,13 @@
+
+enable_language(CXX)
+
+add_executable(objlibuser
+ empty.cpp
+ $<TARGET_OBJECTS:bar>
+)
+
+get_target_property(_location objlibuser LOCATION)
+
+add_library(bar OBJECT
+ empty.cpp
+)