mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
*Really* solved the last commit problem :)
This commit is contained in:
parent
ab0f84ad3f
commit
88683504ba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user