mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41: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
|
# define a macro that helps defining an option
|
||||||
macro(sfml_set_option var default type docstring)
|
macro(sfml_set_option var default type docstring)
|
||||||
if(DEFINED ${var})
|
if(NOT DEFINED ${var})
|
||||||
set(${var} ${default})
|
set(${var} ${default})
|
||||||
endif()
|
endif()
|
||||||
set(${var} ${${var}} CACHE ${type} ${docstring} FORCE)
|
set(${var} ${${var}} CACHE ${type} ${docstring} FORCE)
|
||||||
|
Loading…
Reference in New Issue
Block a user