mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Set CMP0075 at top level CMakeLists.txt
This commit is contained in:
@@ -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
|
||||
|
@@ -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})
|
||||
|
Reference in New Issue
Block a user