summaryrefslogtreecommitdiff
path: root/Tests/CxxOnly
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-09-06 12:06:43 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2010-09-06 12:06:43 -0400
commit530ade6677ec2c12fe8f3db5f5d71ad0ffaa9e68 (patch)
treeb3c22b69448b092f795879bbb253926eed5052ae /Tests/CxxOnly
parentd26cd46989b4e1170cbebc97ae3b6b30395158db (diff)
downloadcmake-530ade6677ec2c12fe8f3db5f5d71ad0ffaa9e68.tar.gz
Fix targets with . in the name for VS 10 IDE.
Diffstat (limited to 'Tests/CxxOnly')
-rw-r--r--Tests/CxxOnly/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CxxOnly/CMakeLists.txt b/Tests/CxxOnly/CMakeLists.txt
index 8258eb427f..0b2c1c5924 100644
--- a/Tests/CxxOnly/CMakeLists.txt
+++ b/Tests/CxxOnly/CMakeLists.txt
@@ -2,7 +2,7 @@
project (CxxOnly CXX)
set(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
-add_library(testcxx1 STATIC libcxx1.cxx test.CPP)
+add_library(testcxx1.my STATIC libcxx1.cxx test.CPP)
add_library(testcxx2 SHARED libcxx2.cxx)
add_executable (CxxOnly cxxonly.cxx)
-target_link_libraries(CxxOnly testcxx1 testcxx2)
+target_link_libraries(CxxOnly testcxx1.my testcxx2)