From 85b6a967254af5493f1130631da5aa99559675e3 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Wed, 8 Jul 2020 17:56:08 -0400 Subject: [PATCH] Enable IN_LIST in older CMake --- src/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 61892668c..ffaa7e8bc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -29,6 +29,11 @@ include(FeatureSummary) include(GNUInstallDirs) +# Enable IN_LIST in older CMake +if (POLICY CMP0057) + cmake_policy(SET CMP0057 NEW) +endif() + ################ WINDOWS ################## # Set some compiler options for Windows # required for libopenshot-audio headers