Fix for 32blit_BINARY_DIR not set for MSVC builds
@@ -42,7 +42,7 @@ target_link_libraries(BlitHalSDL PUBLIC BlitEngine ${SDL2_LIBRARIES})
# copy SDL2.dll to build/install dir for windows users
if(SDL2_DLL)
- configure_file(${SDL2_DLL} ${32blit_BINARY_DIR}/SDL2.dll COPYONLY)
+ configure_file(${SDL2_DLL} ${CMAKE_BINARY_DIR}/SDL2.dll COPYONLY)
install(FILES ${SDL2_DLL} DESTINATION bin)
endif()
