mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-16 03:44:20 +08:00
Allow empty default values to the dep_option macro
This commit is contained in:
committed by
Sam Lantinga
parent
2cc2260435
commit
5abd676917
@@ -17,8 +17,8 @@ macro(SET_OPTION _NAME _DESC)
|
||||
endmacro()
|
||||
|
||||
macro(DEP_OPTION _NAME _DESC _DEFLT _DEPTEST _FAILDFLT)
|
||||
add_to_alloptions(${_NAME})
|
||||
cmake_dependent_option(${_NAME} ${_DESC} ${_DEFLT} ${_DEPTEST} ${_FAILDFLT})
|
||||
add_to_alloptions("${_NAME}")
|
||||
cmake_dependent_option("${_NAME}" "${_DESC}" "${_DEFLT}" "${_DEPTEST}" "${_FAILDFLT}")
|
||||
endmacro()
|
||||
|
||||
macro(OPTION_STRING _NAME _DESC _VALUE)
|
||||
|
||||
Reference in New Issue
Block a user