cmake: fix MSVC unrecognized option link warning
parent
761390b62f
commit
459f17257c
|
@ -96,7 +96,7 @@ function(SDL_detect_linker)
|
||||||
set(SDL_CMAKE_C_COMPILER_LINKER_ID "${linker}" CACHE STRING "Linker identification")
|
set(SDL_CMAKE_C_COMPILER_LINKER_ID "${linker}" CACHE STRING "Linker identification")
|
||||||
mark_as_advanced(SDL_CMAKE_C_COMPILER_LINKER_ID)
|
mark_as_advanced(SDL_CMAKE_C_COMPILER_LINKER_ID)
|
||||||
endif()
|
endif()
|
||||||
set(CMAKE_C_COMPILER_LINKER_ID "${SDL_CMAKE_C_COMPILER_LINKER_ID}")
|
set(CMAKE_C_COMPILER_LINKER_ID "${SDL_CMAKE_C_COMPILER_LINKER_ID}" PARENT_SCOPE)
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue