From 88683504ba67a4f4ce79af93b61cbaf0518b4b50 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Mon, 2 Jan 2012 07:47:13 +0100 Subject: [PATCH] *Really* solved the last commit problem :) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8372d6f40..56d358bf1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8) # define a macro that helps defining an option macro(sfml_set_option var default type docstring) - if(DEFINED ${var}) + if(NOT DEFINED ${var}) set(${var} ${default}) endif() set(${var} ${${var}} CACHE ${type} ${docstring} FORCE)