From 62024e3eeca091fae5c93a786f43d5575fbeed31 Mon Sep 17 00:00:00 2001 From: Abc Dr Date: Mon, 31 Jul 2023 19:38:40 +0800 Subject: [PATCH] cmakefile --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7290548..6541693 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,9 +221,6 @@ if(MSVC) > /DEBUG ) -else() - set(CMAKE_CXX_FLAGS_DEBUG "-g -O0") - set(CMAKE_CXX_FLAGS_RELEASE "-Os") endif() ################################################################################ @@ -233,6 +230,6 @@ add_custom_command_if( TARGET ${PROJECT_NAME} POST_BUILD COMMANDS - COMMAND $ copy "$${TARGET_NAME}$ENV{TargetExt}" "$/../build/addons/metamod/dlls/" + COMMAND $ copy "$/Release/libasexthook.so" "$/../build/addons/metamod/dlls/" )