summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include_directories/DebugIncludes.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-30 18:37:38 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-30 18:37:38 (GMT)
commit9998d78d630dec9532a40d4423e4deabcd3252b2 (patch)
tree6bd24e9f94034d352947a9a70346ee24496f6a7d /Tests/RunCMake/include_directories/DebugIncludes.cmake
parent6eee5d7449fd92d4dcb5ba06e0f38c87d00f9065 (diff)
downloadCMake-9998d78d630dec9532a40d4423e4deabcd3252b2.zip
CMake-9998d78d630dec9532a40d4423e4deabcd3252b2.tar.gz
CMake-9998d78d630dec9532a40d4423e4deabcd3252b2.tar.bz2
Tests: Speed up RunCMake.include_directories test
Remove unnecessary language initializations. Change the main CMakeLists.txt project() call to specify NONE. Use enable_language(CXX) instead of project() in cases that need it to avoid enabling C too.
Diffstat (limited to 'Tests/RunCMake/include_directories/DebugIncludes.cmake')
-rw-r--r--Tests/RunCMake/include_directories/DebugIncludes.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/include_directories/DebugIncludes.cmake b/Tests/RunCMake/include_directories/DebugIncludes.cmake
index bbc9e46..10a4c50 100644
--- a/Tests/RunCMake/include_directories/DebugIncludes.cmake
+++ b/Tests/RunCMake/include_directories/DebugIncludes.cmake
@@ -1,5 +1,5 @@
-project(DebugIncludes)
+enable_language(CXX)
set(CMAKE_DEBUG_TARGET_PROPERTIES INCLUDE_DIRECTORIES)