mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +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)
|
||||
|
||||
if(MSVC)
|
||||
if(ENABLE_UI)
|
||||
if(LAF_OS_BACKEND STREQUAL "skia")
|
||||
# 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()
|
||||
if(ENABLE_UI AND (LAF_OS_BACKEND STREQUAL "skia"))
|
||||
# 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\"")
|
||||
else()
|
||||
set_target_properties(aseprite
|
||||
PROPERTIES LINK_FLAGS "-LINK wsetargv.obj -ENTRY:\"wmainCRTStartup\"")
|
||||
|
Loading…
Reference in New Issue
Block a user