diff options
author | Brad King <brad.king@kitware.com> | 2009-07-13 13:20:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-13 13:20:36 (GMT) |
commit | 61367c69d7168a1ffcf39266cdb0784200e57e94 (patch) | |
tree | 9adfb19952e16f54caa3502466d7386de74a91e0 /Tests | |
parent | 44eeda9a045b5c61c3be05954816ab8df668d88b (diff) | |
download | CMake-61367c69d7168a1ffcf39266cdb0784200e57e94.zip CMake-61367c69d7168a1ffcf39266cdb0784200e57e94.tar.gz CMake-61367c69d7168a1ffcf39266cdb0784200e57e94.tar.bz2 |
COMP: Fix ExportImport testLib6 on VS6
The compiler does not support multiple source files differing only by
extension in one target. This renames the C source file in the test.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/ExportImport/Export/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/ExportImport/Export/testLib6c.c (renamed from Tests/ExportImport/Export/testLib6.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt index 1588b0c..0dd2550 100644 --- a/Tests/ExportImport/Export/CMakeLists.txt +++ b/Tests/ExportImport/Export/CMakeLists.txt @@ -45,7 +45,7 @@ set_property(TARGET testLib4 PROPERTY FRAMEWORK 1) add_library(testLib5 SHARED testLib5.c) -add_library(testLib6 STATIC testLib6.cxx testLib6.c) +add_library(testLib6 STATIC testLib6.cxx testLib6c.c) # Work-around: Visual Studio 6 does not support per-target object files. set(VS6) diff --git a/Tests/ExportImport/Export/testLib6.c b/Tests/ExportImport/Export/testLib6c.c index 493ca07..493ca07 100644 --- a/Tests/ExportImport/Export/testLib6.c +++ b/Tests/ExportImport/Export/testLib6c.c |