mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-16 19:16:42 +02:00
22 lines
825 B
Diff
22 lines
825 B
Diff
--- a/3rdparty/CMakeLists.txt
|
|
+++ b/3rdparty/CMakeLists.txt
|
|
@@ -22,8 +22,6 @@
|
|
|
|
SET(FMT_INSTALL OFF CACHE BOOL "Generate the install target" FORCE)
|
|
SET(FMT_SYSTEM_HEADERS ON CACHE BOOL "Expose headers with marking them as system." FORCE)
|
|
-add_subdirectory(fmt EXCLUDE_FROM_ALL)
|
|
-set_property(TARGET fmt PROPERTY FOLDER "3rdparty")
|
|
|
|
# inih library
|
|
add_library(inih STATIC "inih/ini.h" "inih/ini.c")
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -126,6 +126,8 @@
|
|
|
|
target_link_libraries(warzone2100 exception-handler gamelib wzmaplib ivis-opengl netplay sdl-backend framework sequence sound widget)
|
|
target_link_libraries(warzone2100 launchinfo EmbeddedJSONSignature)
|
|
+
|
|
+find_package(fmt REQUIRED)
|
|
target_link_libraries(warzone2100 fmt::fmt)
|
|
if(ENABLE_NLS)
|
|
target_link_libraries(warzone2100 ${Intl_LIBRARIES})
|