diff options
author | Marius Kintel <marius@kintel.net> | 2013-03-09 18:00:56 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-03-09 18:05:07 (GMT) |
commit | 65e65b6c4c9bf57b0e4a9182519c1f1aa207a589 (patch) | |
tree | 87f30053b9f15b31fec361e92f6b6adc5dabfaad /tests/CMakeLists.txt | |
parent | 8711bd25006bda5b63516a222b762e71a9954a56 (diff) |
Support cmake < 2.8.3
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 23928ed..c8eacfb 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -7,6 +7,9 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSIO cmake_policy(SET CMP0017 NEW) endif() +# Needed for cmake < 2.8.3 +include(CMakeParseArguments.cmake) + # Detect Lion and force gcc IF (APPLE) EXECUTE_PROCESS(COMMAND sw_vers -productVersion OUTPUT_VARIABLE MACOSX_VERSION) |