From: Neal Gompa Date: Fri, 18 Nov 2016 23:42:26 +0000 (-0500) Subject: Set CMP0004 policy to OLD X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=b461f4a69c17073d5c576d24e48b1b59c0d3c932;p=lugaru.git Set CMP0004 policy to OLD This means CMake will silently strip leading and trailing whitespace returned in variables used for defining link libraries. This is necessary because SDL2's config file returns trailing whitespaces in variables. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 822300d..62531a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,7 @@ project(lugaru) cmake_minimum_required(VERSION 3.5) +cmake_policy(SET CMP0004 OLD) INCLUDE(FindPkgConfig)