Skip to content

Commit

Permalink
Fix SDL2_EXEC_PREFIX so CPACK can find SDL2.dll
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCWills authored and AJenbo committed Feb 9, 2025
1 parent 8d44de2 commit d92bdd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ if(CPACK AND (APPLE OR BUILD_ASSETS_MPQ OR SRC_DIST))
if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
set(SDL2_WIN32_DLLS_DIR "${CMAKE_BINARY_DIR}")
else()
set(SDL2_WIN32_DLLS_DIR "${SDL2_EXEC_PREFIX}/bin")
set(SDL2_WIN32_DLLS_DIR "${SDL2_EXEC_PREFIX}")
endif()
set(SDL2_WIN32_LICENSES_DIR "${PROJECT_SOURCE_DIR}/Packaging/resources")

Expand Down

0 comments on commit d92bdd2

Please sign in to comment.