mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
Fix static iconv linking on Windows
This commit is contained in:
@ -94,6 +94,10 @@ if (WIN32)
|
|||||||
option(BUILD_STATIC "Statically link dependencies" OFF)
|
option(BUILD_STATIC "Statically link dependencies" OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (BUILD_STATIC AND WIN32)
|
||||||
|
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (ENABLE_LTO)
|
if (ENABLE_LTO)
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
add_compile_options(-flto)
|
add_compile_options(-flto)
|
||||||
|
Reference in New Issue
Block a user