what?????
This commit is contained in:
parent
fa86be29c9
commit
57c8a504ab
|
@ -1181,6 +1181,11 @@ if (WIN32 AND CONSOLE_SUBSYSTEM)
|
||||||
list(APPEND DEPENDENCIES_DEFINES "TA_SUBSYSTEM_CONSOLE")
|
list(APPEND DEPENDENCIES_DEFINES "TA_SUBSYSTEM_CONSOLE")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (APPLE AND NOT FORCE_APPLE_BIN)
|
||||||
|
file(GLOB_RECURSE LOCALE_FILES po/locale)
|
||||||
|
list(APPEND USED_SOURCES ${LOCALE_FILES})
|
||||||
|
endif()
|
||||||
|
|
||||||
if(ANDROID AND NOT TERMUX)
|
if(ANDROID AND NOT TERMUX)
|
||||||
add_library(furnace SHARED ${USED_SOURCES})
|
add_library(furnace SHARED ${USED_SOURCES})
|
||||||
elseif(WIN32 AND NOT CONSOLE_SUBSYSTEM)
|
elseif(WIN32 AND NOT CONSOLE_SUBSYSTEM)
|
||||||
|
@ -1189,6 +1194,10 @@ else()
|
||||||
add_executable(furnace ${USED_SOURCES})
|
add_executable(furnace ${USED_SOURCES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (APPLE AND NOT FORCE_APPLE_BIN)
|
||||||
|
set_target_properties(furnace PROPERTIES RESOURCE ${LOCALE_FILES})
|
||||||
|
endif()
|
||||||
|
|
||||||
target_include_directories(furnace SYSTEM PRIVATE ${DEPENDENCIES_INCLUDE_DIRS})
|
target_include_directories(furnace SYSTEM PRIVATE ${DEPENDENCIES_INCLUDE_DIRS})
|
||||||
target_compile_options(furnace PRIVATE ${DEPENDENCIES_COMPILE_OPTIONS})
|
target_compile_options(furnace PRIVATE ${DEPENDENCIES_COMPILE_OPTIONS})
|
||||||
target_link_libraries(furnace PRIVATE ${DEPENDENCIES_LIBRARIES})
|
target_link_libraries(furnace PRIVATE ${DEPENDENCIES_LIBRARIES})
|
||||||
|
@ -1262,7 +1271,7 @@ if (NOT ANDROID OR TERMUX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (APPLE AND NOT FORCE_APPLE_BIN)
|
if (APPLE AND NOT FORCE_APPLE_BIN)
|
||||||
install(DIRECTORY po/locale RESOURCE DESTINATION Resources/locale)
|
install(TARGETS furnace RESOURCE DESTINATION locale)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue