mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 04:19:12 +00:00
Use LAF_OS_BACKEND_LINK_FLAGS to link aseprite
This commit is contained in:
parent
dcb576b284
commit
161cc7418a
2
laf
2
laf
@ -1 +1 @@
|
||||
Subproject commit e27c266b0d5bfc16818a70cd8919b9884aa67bea
|
||||
Subproject commit c4e2d79a702116ea21499baca4e84bfa8f429b1b
|
@ -179,16 +179,9 @@ endif()
|
||||
target_link_libraries(aseprite app-lib ${PLATFORM_LIBS})
|
||||
add_dependencies(aseprite copy_data)
|
||||
|
||||
if(MSVC)
|
||||
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\"")
|
||||
endif()
|
||||
if(LAF_OS_BACKEND_LINK_FLAGS)
|
||||
set_target_properties(aseprite PROPERTIES LINK_FLAGS
|
||||
${LAF_OS_BACKEND_LINK_FLAGS})
|
||||
endif()
|
||||
|
||||
install(TARGETS aseprite
|
||||
|
Loading…
x
Reference in New Issue
Block a user