mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-08 03:42:09 +00:00
Try to fix linking aseprite + laf-os w/none backend on MSVC
This commit is contained in:
parent
3977631924
commit
650c9f9fd8
@ -180,13 +180,11 @@ 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(ENABLE_UI AND (LAF_OS_BACKEND STREQUAL "skia"))
|
||||||
if(LAF_OS_BACKEND STREQUAL "skia")
|
# 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