Skip to content

Commit

Permalink
cmake: SDL_detect_linker needs set(PARENT_SCOPE)
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Nov 6, 2023
1 parent 977ec9f commit 03b2520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/PrivateSdlFunctions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ function(SDL_detect_linker)
set(SDL_CMAKE_C_COMPILER_LINKER_ID "${linker}" CACHE STRING "Linker identification")
mark_as_advanced(SDL_CMAKE_C_COMPILER_LINKER_ID)
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()
endfunction()

Expand Down

0 comments on commit 03b2520

Please sign in to comment.