Skip to content

Commit

Permalink
CMake: Only set CMD0071 to NEW if that policy exists in that cmake ve…
Browse files Browse the repository at this point in the history
…rsion
  • Loading branch information
Holzhaus committed Sep 14, 2019
1 parent 248f333 commit cb52d88
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ project(mixxx
HOMEPAGE_URL "https://www.mixxx.org"
)
set(CMAKE_PROJECT_DESCRIPTION "Mixxx is Free DJ software that gives you everything you need to perform live mixes.")
cmake_policy(SET CMP0071 NEW)

# Let AUTOMOC and AUTOUIC process GENERATED files
if(POLICY CMP0071)
cmake_policy(SET CMP0071 NEW)
endif()

set(CMAKE_CXX_STANDARD 14)
include(ExternalProject)

Expand Down

0 comments on commit cb52d88

Please sign in to comment.