summaryrefslogtreecommitdiffstats
path: root/Tests/LibName/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-11-29 20:58:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-11-29 20:58:19 (GMT)
commit46f8ed064820ec7a9d645a55a1ad7a0d3d7b8134 (patch)
tree94726fec6aee4edd9144b7f399ecc79b83450e14 /Tests/LibName/CMakeLists.txt
parentd6219588c049c8d7ca1b328d918e410e9385f0c8 (diff)
downloadCMake-46f8ed064820ec7a9d645a55a1ad7a0d3d7b8134.zip
CMake-46f8ed064820ec7a9d645a55a1ad7a0d3d7b8134.tar.gz
CMake-46f8ed064820ec7a9d645a55a1ad7a0d3d7b8134.tar.bz2
BUG: fix a problem where it tried to link .dll.lib files
Diffstat (limited to 'Tests/LibName/CMakeLists.txt')
-rw-r--r--Tests/LibName/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/LibName/CMakeLists.txt b/Tests/LibName/CMakeLists.txt
new file mode 100644
index 0000000..649aae3
--- /dev/null
+++ b/Tests/LibName/CMakeLists.txt
@@ -0,0 +1,7 @@
+project(LibName)
+set(LIBRARY_OUTPUT_PATH lib)
+add_library(bar SHARED bar.c)
+add_library(foo SHARED foo.c)
+target_link_libraries(foo bar)
+add_executable(foobar foobar.c)
+target_link_libraries(foobar foo)