diff options
author | Brad King <brad.king@kitware.com> | 2014-06-30 18:37:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-30 18:37:38 (GMT) |
commit | 9998d78d630dec9532a40d4423e4deabcd3252b2 (patch) | |
tree | 6bd24e9f94034d352947a9a70346ee24496f6a7d /Tests/RunCMake/include_directories/DirInInstallPrefix.cmake | |
parent | 6eee5d7449fd92d4dcb5ba06e0f38c87d00f9065 (diff) | |
download | CMake-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/DirInInstallPrefix.cmake')
-rw-r--r-- | Tests/RunCMake/include_directories/DirInInstallPrefix.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/include_directories/DirInInstallPrefix.cmake b/Tests/RunCMake/include_directories/DirInInstallPrefix.cmake index d6f08bd..fab7717 100644 --- a/Tests/RunCMake/include_directories/DirInInstallPrefix.cmake +++ b/Tests/RunCMake/include_directories/DirInInstallPrefix.cmake @@ -1,4 +1,4 @@ - +enable_language(CXX) add_library(testTarget empty.cpp) target_include_directories(testTarget INTERFACE "${CMAKE_INSTALL_PREFIX}/dir") |