From 72d703bcd08d6573d9509ebf0f8b911db28e86e8 Mon Sep 17 00:00:00 2001 From: gal kahana Date: Sat, 17 Nov 2018 14:46:57 +0200 Subject: [PATCH] so it was thinking it was xcode all the time. hmm --- .gitignore | 3 +++ CMakeLists.txt | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 75aa623c..a131d100 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,6 @@ jpegsr8d jpeg-8d *.gz Downloads + +# notes etc. +etc \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 42559d48..cf437106 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,9 @@ cmake_minimum_required (VERSION 2.6) set(USE_BUNDLED TRUE CACHE BOOL "Whether to use bundled libraries") -set(IS_XCODE CMAKE_GENERATOR STREQUAL Xcode) +if(CMAKE_GENERATOR STREQUAL "Xcode") + set(IS_XCODE TRUE) +endif(CMAKE_GENERATOR STREQUAL "Xcode") if(NOT USE_BUNDLED) FIND_PACKAGE(PkgConfig)