From b012b8463d966ddf5211d5ba9607179c13762665 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Wed, 2 Aug 2017 22:19:03 +0200 Subject: [PATCH] Fix APPLE condition for libiconv --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 397a1e3..c722c28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,7 @@ endif () ########## set (gettext_DEPENDS) -if (APPLE) +if (NOT APPLE) set (gettext_DEPENDS "${gettext_DEPENDS} libiconv_Project") endif () @@ -232,7 +232,7 @@ ExternalProject_Add (SDL2_image_Project ############# set (SDL2_mixer_DEPENDS SDL2_Project) -if (APPLE) +if (NOT APPLE) set (SDL2_mixer_DEPENDS "${SDL2_mixer_DEPENDS} libiconv_Project") endif ()