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/" )