mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Remove remaining mentions of SDL2PP_WITH_WERROR
This commit is contained in:
parent
0b74fbc7fb
commit
1556216c47
@ -153,7 +153,6 @@ Following variables may be supplied to CMake to affect build:
|
||||
* ```SDL2PP_WITH_IMAGE``` - enable SDL_image support (default ON)
|
||||
* ```SDL2PP_WITH_MIXER``` - enable SDL_mixer support (default ON)
|
||||
* ```SDL2PP_WITH_TTF``` - enable SDL_ttf support (default ON)
|
||||
* ```SDL2PP_WITH_WERROR``` - treat warnings as errors, useful for CI (default OFF)
|
||||
* ```SDL2PP_WITH_EXAMPLES``` - enable building example programs (only for standalone build, default ON)
|
||||
* ```SDL2PP_WITH_TESTS``` - enable building tests (only for standalone build, default ON)
|
||||
* ```SDL2PP_STATIC``` - build static library instead of shared (only for standalone build, default OFF)
|
||||
|
@ -4,7 +4,6 @@ MACRO(CHECK_COMPILE RESULT_VAR CODE DESCRIPTION)
|
||||
SET(SAVED_CMAKE_REQUIRED_QUIET "${CMAKE_REQUIRED_QUIET}")
|
||||
SET(SAVED_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}")
|
||||
SET(CMAKE_REQUIRED_QUIET YES)
|
||||
SET(CMAKE_REQUIRED_FLAGS "${SDL2PP_WERROR_FLAG}")
|
||||
CHECK_CXX_SOURCE_COMPILES("${CODE}" ${RESULT_VAR})
|
||||
SET(CMAKE_REQUIRED_QUIET "${SAVED_CMAKE_REQUIRED_QUIET}")
|
||||
SET(CMAKE_REQUIRED_FLAGS "${SAVED_CMAKE_REQUIRED_FLAGS}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user