mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 04:28:59 +02:00
get sdl2 dll path for win32 fixup_bundle
This commit is contained in:
parent
b682cd03f3
commit
c233dc7b57
1 changed files with 5 additions and 0 deletions
|
@ -254,3 +254,8 @@ ENDIF(SDL2_LIBRARY_TEMP)
|
|||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2 REQUIRED_VARS SDL2_LIBRARY SDL2_INCLUDE_DIR)
|
||||
|
||||
if (WIN32)
|
||||
get_filename_component(SDL2_DLL_PATH ${SDL2_LIBRARY} DIRECTORY CACHE)
|
||||
add_path_to_lib_paths(${SDL2_DLL_PATH})
|
||||
endif ()
|
||||
|
|
Loading…
Reference in a new issue