diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-16 20:49:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-04-17 13:07:59 (GMT) |
commit | 5baa81592be69a87c10380daaa03da48c3fc729f (patch) | |
tree | dd726bc7805b5708d968bad6d8fd0aa34208dd10 /Tests/RunCMake/include_directories/RunCMakeTest.cmake | |
parent | 9e0b3153fa2fa9e1b51d1fd7d265a114958e7f0a (diff) | |
download | CMake-5baa81592be69a87c10380daaa03da48c3fc729f.zip CMake-5baa81592be69a87c10380daaa03da48c3fc729f.tar.gz CMake-5baa81592be69a87c10380daaa03da48c3fc729f.tar.bz2 |
CMP0052: Test that include dirs in install locations cause no warnings.
Diffstat (limited to 'Tests/RunCMake/include_directories/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/include_directories/RunCMakeTest.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/include_directories/RunCMakeTest.cmake b/Tests/RunCMake/include_directories/RunCMakeTest.cmake index 434beb9..c5b29d0 100644 --- a/Tests/RunCMake/include_directories/RunCMakeTest.cmake +++ b/Tests/RunCMake/include_directories/RunCMakeTest.cmake @@ -13,6 +13,9 @@ run_cmake(install_config) run_cmake(incomplete-genex) run_cmake(export-NOWARN) +set(RunCMake_TEST_OPTIONS "-DCMAKE_INSTALL_PREFIX=${RunCMake_BINARY_DIR}/DirInInstallPrefix/prefix") +run_cmake(DirInInstallPrefix) + configure_file( "${RunCMake_SOURCE_DIR}/CMakeLists.txt" "${RunCMake_BINARY_DIR}/copy/CMakeLists.txt" |