diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-10-10 22:02:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-15 13:22:56 (GMT) |
commit | 920ffbf50fa08e9a8bc4cdef5fd58ab7a6c6130c (patch) | |
tree | 84c092b3dfd4e4089d17790425e266f5b630ff8f /Tests/CMakeLib/CMakeLists.txt | |
parent | 872db622d62012d6ea0c2142d75f9a0b97949004 (diff) | |
download | CMake-920ffbf50fa08e9a8bc4cdef5fd58ab7a6c6130c.zip CMake-920ffbf50fa08e9a8bc4cdef5fd58ab7a6c6130c.tar.gz CMake-920ffbf50fa08e9a8bc4cdef5fd58ab7a6c6130c.tar.bz2 |
Require CMake 2.8.4 or greater to build CMake
This allows the use of the $<TARGET_FILE:...> generator expression as a
replacement for the use of the LOCATION target property. The use of the
LOCATION target property is now deprecated for in-build targets.
Also drop other checks for older CMake versions:
* Simplify cmake_set_target_folder macro.
* Use find_package(LibArchive) unconditionally.
* Simplify condition for running testVisualStudioSlnParser test.
* Convert two macros to functions.
* Unconditionally run the CTestTestRerunFailed test.
Diffstat (limited to 'Tests/CMakeLib/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLib/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLib/CMakeLists.txt b/Tests/CMakeLib/CMakeLists.txt index a831e30..070c9cc 100644 --- a/Tests/CMakeLib/CMakeLists.txt +++ b/Tests/CMakeLib/CMakeLists.txt @@ -12,7 +12,7 @@ set(CMakeLib_TESTS testXMLSafe ) -if(WIN32 AND NOT UNIX) # Just if(WIN32) when CMake >= 2.8.4 is required +if(WIN32) list(APPEND CMakeLib_TESTS testVisualStudioSlnParser ) |