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)
|
add_dependencies(aseprite copy_data)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
|
if(ENABLE_UI)
|
||||||
if(USE_SKIA_BACKEND)
|
if(USE_SKIA_BACKEND)
|
||||||
# Linking with "wsetargv.obj" to add support to expand filename
|
# Linking with "wsetargv.obj" to add support to expand filename
|
||||||
# wildcards in argc/argv.
|
# wildcards in argc/argv.
|
||||||
set_target_properties(aseprite
|
set_target_properties(aseprite
|
||||||
PROPERTIES LINK_FLAGS "-LINK wsetargv.obj -ENTRY:\"wWinMainCRTStartup\"")
|
PROPERTIES LINK_FLAGS "-LINK wsetargv.obj -ENTRY:\"wWinMainCRTStartup\"")
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
set_target_properties(aseprite
|
set_target_properties(aseprite
|
||||||
PROPERTIES LINK_FLAGS "-LINK wsetargv.obj -ENTRY:\"wmainCRTStartup\"")
|
PROPERTIES LINK_FLAGS "-LINK wsetargv.obj -ENTRY:\"wmainCRTStartup\"")
|
||||||
|
Loading…
Reference in New Issue
Block a user