mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-04 05:50:15 +00:00
win: Fix compilation w/Allegro backend (fix #1730)
This commit is contained in:
parent
139c5aac49
commit
c8c12700e5
@ -186,11 +186,13 @@ target_link_libraries(aseprite app-lib ${PLATFORM_LIBS})
|
||||
add_dependencies(aseprite copy_data)
|
||||
|
||||
if(MSVC)
|
||||
if(USE_SKIA_BACKEND)
|
||||
# Linking with "wsetargv.obj" to add support to expand filename
|
||||
# wildcards in argc/argv.
|
||||
set_target_properties(aseprite
|
||||
PROPERTIES LINK_FLAGS "-LINK wsetargv.obj -ENTRY:\"wWinMainCRTStartup\"")
|
||||
if(ENABLE_UI)
|
||||
if(USE_SKIA_BACKEND)
|
||||
# Linking with "wsetargv.obj" to add support to expand filename
|
||||
# wildcards in argc/argv.
|
||||
set_target_properties(aseprite
|
||||
PROPERTIES LINK_FLAGS "-LINK wsetargv.obj -ENTRY:\"wWinMainCRTStartup\"")
|
||||
endif()
|
||||
else()
|
||||
set_target_properties(aseprite
|
||||
PROPERTIES LINK_FLAGS "-LINK wsetargv.obj -ENTRY:\"wmainCRTStartup\"")
|
||||
|
Loading…
Reference in New Issue
Block a user