fix the link error of raylib_opengl_interop and rlgl_standalone, and the error of un-removed cache in AddIfFlagCompiles.cmake
This commit is contained in:
parent
2a774a88f5
commit
4726740e42
1 changed files with 15 additions and 0 deletions
|
|
@ -9,4 +9,7 @@ function(add_if_flag_compiles flag)
|
|||
set(outcome "compiles")
|
||||
endif()
|
||||
message(STATUS "Testing if ${flag} can be used -- ${outcome}")
|
||||
# It must be manually removed from the cache; otherwise, the check won't be re-evalated
|
||||
# https://cmake.org/cmake/help/latest/module/CheckCCompilerFlag.html
|
||||
unset(COMPILER_HAS_THOSE_TOGGLES CACHE)
|
||||
endfunction()
|
||||
|
|
|
|||
Loading…
Reference in a new issue