summaryrefslogtreecommitdiffstats
path: root/Tests/ObjectLibrary/A/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-08-20 18:45:48 (GMT)
committerBrad King <brad.king@kitware.com>2012-08-20 18:47:33 (GMT)
commit94c08b368c40da4f39a506440d0c5cf3c4c23c48 (patch)
tree9ee84e45100d2e5de2be331804307364a4aa0784 /Tests/ObjectLibrary/A/CMakeLists.txt
parentaddefc2ae3b33a75a7152730146b46b319118a24 (diff)
downloadCMake-94c08b368c40da4f39a506440d0c5cf3c4c23c48.zip
CMake-94c08b368c40da4f39a506440d0c5cf3c4c23c48.tar.gz
CMake-94c08b368c40da4f39a506440d0c5cf3c4c23c48.tar.bz2
Tests/ObjectLibrary: Do not enable CXX in subdirectories
In commit b237dbd8 (Xcode: Fix object library references in multi-project trees, 2012-08-03) we accidentally enabled CXX in the subdiretories of this test by invoking project() with only one argument. The top-level directory of the test enables only C, so do this in the subdirectories too.
Diffstat (limited to 'Tests/ObjectLibrary/A/CMakeLists.txt')
-rw-r--r--Tests/ObjectLibrary/A/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ObjectLibrary/A/CMakeLists.txt b/Tests/ObjectLibrary/A/CMakeLists.txt
index 04ab02f..36c86e7 100644
--- a/Tests/ObjectLibrary/A/CMakeLists.txt
+++ b/Tests/ObjectLibrary/A/CMakeLists.txt
@@ -1,4 +1,4 @@
-project(ObjectLibraryA)
+project(ObjectLibraryA C)
# Add -fPIC so objects can be used in shared libraries.
# TODO: Need property for this.
if(CMAKE_SHARED_LIBRARY_C_FLAGS AND NOT WATCOM)