1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 06:07:37 +02:00

Fix build with <cmake-3.10

This commit is contained in:
Andreas Sturmlechner
2019-01-25 21:13:05 +01:00
committed by Dominik Schmidt
parent 777b312191
commit 299f033ef9

View File

@@ -2,14 +2,18 @@ PROJECT( tomahawk )
CMAKE_MINIMUM_REQUIRED( VERSION 2.8.12 ) CMAKE_MINIMUM_REQUIRED( VERSION 2.8.12 )
CMAKE_POLICY(SET CMP0017 NEW) CMAKE_POLICY(SET CMP0017 NEW)
CMAKE_POLICY(SET CMP0022 NEW) CMAKE_POLICY(SET CMP0022 NEW)
CMAKE_POLICY(SET CMP0075 NEW) IF(POLICY CMP0075)
CMAKE_POLICY(SET CMP0075 NEW)
ENDIF()
# TODO: # TODO:
# Update to NEW and fix things up # Update to NEW and fix things up
CMAKE_POLICY(SET CMP0023 NEW) CMAKE_POLICY(SET CMP0023 NEW)
# Let AUTOMOC and AUTOUIC process generated files # Let AUTOMOC and AUTOUIC process generated files
CMAKE_POLICY(SET CMP0071 NEW) IF(POLICY CMP0071)
CMAKE_POLICY(SET CMP0071 NEW)
ENDIF()
# TODO: # TODO:
# Disable automatic qtmain linking # Disable automatic qtmain linking