diff options
author | Brad King <brad.king@kitware.com> | 2014-05-09 15:43:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-12 13:44:32 (GMT) |
commit | d09fda5d91e92155ef674dde97a66547cc750e9f (patch) | |
tree | ddc09105526e179a71d02213033b7040d15bbba5 /Tests/FindPackageTest | |
parent | ac24a1c031a5ccb01c2a978655757e71c3f9acba (diff) | |
download | CMake-d09fda5d91e92155ef674dde97a66547cc750e9f.zip CMake-d09fda5d91e92155ef674dde97a66547cc750e9f.tar.gz CMake-d09fda5d91e92155ef674dde97a66547cc750e9f.tar.bz2 |
Tests: Improve FindPackageTest for in-source builds
Use a different directory name for the Exporter build tree so that it is
out-of-source even when the main test is in-source.
Diffstat (limited to 'Tests/FindPackageTest')
-rw-r--r-- | Tests/FindPackageTest/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindPackageTest/CMakeLists.txt b/Tests/FindPackageTest/CMakeLists.txt index fc82a1e..092801b 100644 --- a/Tests/FindPackageTest/CMakeLists.txt +++ b/Tests/FindPackageTest/CMakeLists.txt @@ -328,7 +328,7 @@ set(version "${version}.${v}") message(STATUS "Preparing export(PACKAGE) test project") try_compile(EXPORTER_COMPILED - ${FindPackageTest_BINARY_DIR}/Exporter + ${FindPackageTest_BINARY_DIR}/Exporter-build ${FindPackageTest_SOURCE_DIR}/Exporter CMakeTestExportPackage dummy CMAKE_FLAGS |