From bba1cdd8b2aa74dd6b4423bb06ecc3a5602634a0 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 4 Jun 2023 11:19:30 +0200 Subject: [PATCH] Fix dedicated server compile errors These files should have been placed into the client only group. --- r5dev/engine/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/r5dev/engine/CMakeLists.txt b/r5dev/engine/CMakeLists.txt index 97510183..1c391469 100644 --- a/r5dev/engine/CMakeLists.txt +++ b/r5dev/engine/CMakeLists.txt @@ -117,10 +117,6 @@ add_sources( SOURCE_GROUP "Client" "client/cdll_engine_int.h" "client/cl_ents_parse.cpp" "client/cl_ents_parse.h" - "client/cl_main.cpp" - "client/cl_main.h" - "client/cl_splitscreen.cpp" - "client/cl_splitscreen.h" "client/client.cpp" "client/client.h" ) @@ -136,6 +132,10 @@ if( ${PROJECT_NAME} STREQUAL "engine" ) add_sources( SOURCE_GROUP "Client" # Client only. "client/clientstate.cpp" "client/clientstate.h" + "client/cl_main.cpp" + "client/cl_main.h" + "client/cl_splitscreen.cpp" + "client/cl_splitscreen.h" "client/cl_rcon.cpp" "client/cl_rcon.h" "client/vengineclient_impl.cpp"