mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-17 14:47:19 +01:00
Reset CMAKE_REQUIRED_FLAGS after test
This commit is contained in:
parent
95ced654cb
commit
f17587df4a
@ -343,6 +343,7 @@ if(USE_GCC OR USE_CLANG)
|
|||||||
|
|
||||||
set(CMAKE_REQUIRED_FLAGS "-Wl,--no-undefined")
|
set(CMAKE_REQUIRED_FLAGS "-Wl,--no-undefined")
|
||||||
check_c_compiler_flag("" HAVE_NO_UNDEFINED)
|
check_c_compiler_flag("" HAVE_NO_UNDEFINED)
|
||||||
|
set(CMAKE_REQUIRED_FLAGS)
|
||||||
if(HAVE_NO_UNDEFINED)
|
if(HAVE_NO_UNDEFINED)
|
||||||
list(APPEND EXTRA_LDFLAGS "-Wl,--no-undefined")
|
list(APPEND EXTRA_LDFLAGS "-Wl,--no-undefined")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user