1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-20 07:52:30 +02:00

Set CMP0075 at top level CMakeLists.txt

This commit is contained in:
Dominik Schmidt 2018-10-30 20:19:33 +01:00
parent 1ab3ed9f93
commit 777b312191
2 changed files with 1 additions and 2 deletions

View File

@ -2,6 +2,7 @@ PROJECT( tomahawk )
CMAKE_MINIMUM_REQUIRED( VERSION 2.8.12 )
CMAKE_POLICY(SET CMP0017 NEW)
CMAKE_POLICY(SET CMP0022 NEW)
CMAKE_POLICY(SET CMP0075 NEW)
# TODO:
# Update to NEW and fix things up

View File

@ -1,7 +1,5 @@
# taglib changed filenames to be a char/wchar struct on some platforms, need to check for it
macro (CHECK_TAGLIB_FILENAME TAGLIB_FILENAME_COMPLEX)
CMAKE_POLICY(SET CMP0075 NEW)
include (CheckCXXSourceCompiles)
set (CMAKE_REQUIRED_FLAGS ${TAGLIB_CFLAGS})
set (CMAKE_REQUIRED_INCLUDES ${TAGLIB_INCLUDES})