From 5b9be4c0c1f2e9a426e16c68ab0e6361e596d396 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Thu, 30 Mar 2017 16:53:34 +0500 Subject: [PATCH] Update CMakeLists.txt. --- cl_dll/CMakeLists.txt | 14 +++++++------- dlls/CMakeLists.txt | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cl_dll/CMakeLists.txt b/cl_dll/CMakeLists.txt index a590d778..252aba29 100644 --- a/cl_dll/CMakeLists.txt +++ b/cl_dll/CMakeLists.txt @@ -25,7 +25,7 @@ project (CLDLL) set (CLDLL_LIBRARY client) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-write-strings -DLINUX -D_LINUX -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -DCLIENT_WEAPONS -DCLIENT_DLL -w") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-write-strings -DLINUX -D_LINUX -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -DCLIENT_WEAPONS -DCLIENT_DLL -DAG_USE_CHEATPROTECTION -w") set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") set (CLDLL_SOURCES @@ -76,8 +76,8 @@ set (CLDLL_SOURCES overview.cpp parsemsg.cpp # aghl/agbase64.cpp -# aghl/agcrc32.cpp -# aghl/agcrc32enforcer.cpp + aghl/agcrc32.cpp + aghl/agcrc32enforcer.cpp # aghl/agdownload.cpp aghl/Agglobal.cpp aghl/aghudcountdown.cpp @@ -102,16 +102,16 @@ set (CLDLL_SOURCES # aghl/agmapi.cpp aghl/agmatchreport.cpp aghl/agminidump.cpp -# aghl/agmodel.cpp -# aghl/agmodelcheck.cpp + aghl/agmodel.cpp + aghl/agmodelcheck.cpp # aghl/agpak.cpp -# aghl/agvariablechecker.cpp + aghl/agvariablechecker.cpp aghl/agversioninfo.cpp # aghl/agvguiirc.cpp # aghl/AgVGuiMapBrowser.cpp # aghl/AgVGUIPassword.cpp # aghl/agvguiwinamp.cpp -# aghl/agwallhack.cpp + aghl/agwallhack.cpp # aghl/crossthreadsmessagingdevice.cpp # aghl/irc.cpp # aghl/socket.cpp diff --git a/dlls/CMakeLists.txt b/dlls/CMakeLists.txt index 9e057d4c..5d484fd4 100644 --- a/dlls/CMakeLists.txt +++ b/dlls/CMakeLists.txt @@ -25,7 +25,7 @@ project (SVDLL) set (SVDLL_LIBRARY server) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LINUX -DCLIENT_WEAPONS -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -fno-exceptions -w") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LINUX -DCLIENT_WEAPONS -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -fno-exceptions -DAG_USE_CHEATPROTECTION -w") set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") set (SVDLL_SOURCES