]> danny-edel.de - dspdfviewer.git/commitdiff
upgrade cmake minimum version to 2.8.12
authorDanny Edel <mail@danny-edel.de>
Wed, 26 Apr 2023 21:17:04 +0000 (23:17 +0200)
committerDanny Edel <mail@danny-edel.de>
Wed, 26 Apr 2023 21:17:04 +0000 (23:17 +0200)
Lower versions will be out of support soon.

CMakeLists.txt

index 6ba8dfa2c3c6c96f75367bc0db7b57858637e03e..3feef42198bbea27df60fc3d7e6cadf89e0458b8 100644 (file)
 #     with this program; if not, write to the Free Software Foundation, Inc.,
 #     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 # */
-cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
-if( NOT CMAKE_VERSION VERSION_LESS 2.8.11)
-       cmake_policy(SET CMP0020 NEW) # qtmain.lib linkage on windows
-endif()
+cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
 if( NOT CMAKE_VERSION VERSION_LESS 3.1)
        cmake_policy(SET CMP0054 NEW) # dont expand quoted strings in if()s
 endif()