From ffa813b92cdaff6a038d9cc072cce431576b0064 Mon Sep 17 00:00:00 2001 From: solar Date: Sat, 2 Aug 2025 17:15:11 -0700 Subject: [PATCH] [Build] Fix Linking with GCC (#4969) Co-authored-by: solar --- zone/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/CMakeLists.txt b/zone/CMakeLists.txt index e497b5ed5..ffea99f78 100644 --- a/zone/CMakeLists.txt +++ b/zone/CMakeLists.txt @@ -502,7 +502,7 @@ if (EQEMU_BUILD_STATIC AND PERL_LIBRARY) endif() # link zone against common libraries -target_link_libraries(zone PRIVATE ${ZONE_LIBS} lua_zone perl_zone gm_commands_zone) +target_link_libraries(zone PRIVATE lua_zone perl_zone gm_commands_zone ${ZONE_LIBS}) SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)