mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-30 19:15:08 +01:00
Fix a build error on cmake < 2.8.4
This commit is contained in:
parent
9a739a3346
commit
740b4c0bda
6
3rdparty/libprojectm/CMakeLists.txt
vendored
6
3rdparty/libprojectm/CMakeLists.txt
vendored
@ -5,7 +5,11 @@ SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The projectM core library.")
|
|||||||
include(CheckCXXCompilerFlag)
|
include(CheckCXXCompilerFlag)
|
||||||
|
|
||||||
cmake_policy(SET CMP0005 OLD)
|
cmake_policy(SET CMP0005 OLD)
|
||||||
cmake_policy(SET CMP0017 OLD)
|
|
||||||
|
# This policy was only added in cmake 2.8.4
|
||||||
|
if (CMAKE_VERSION VERSION_GREATER "2.8.3")
|
||||||
|
cmake_policy(SET CMP0017 OLD)
|
||||||
|
endif (CMAKE_VERSION VERSION_GREATER "2.8.3")
|
||||||
|
|
||||||
|
|
||||||
set(USE_DEVIL OFF)
|
set(USE_DEVIL OFF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user