Make compile with old CMake.

This commit is contained in:
Teo Mrnjavac 2014-10-14 17:14:15 +02:00
parent e648f23e18
commit b49b05f209

View File

@ -20,7 +20,7 @@ endif()
cmake_policy( SET CMP0023 OLD ) cmake_policy( SET CMP0023 OLD )
# Keep cmake 3.0 quiet # Keep cmake 3.0 quiet
if( ${CMAKE_VERSION} VERSION_LESS "3.0.0" ) if( "${CMAKE_VERSION}" VERSION_LESS "3.0.0" )
cmake_policy( SET CMP0043 OLD ) cmake_policy( SET CMP0043 OLD )
endif() endif()