Skip to content

Commit

Permalink
cmakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Abc Dr committed Jul 31, 2023
1 parent f1c34f2 commit 62024e3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,6 @@ if(MSVC)
>
/DEBUG
)
else()
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0")
set(CMAKE_CXX_FLAGS_RELEASE "-Os")
endif()

################################################################################
Expand All @@ -233,6 +230,6 @@ add_custom_command_if(
TARGET ${PROJECT_NAME}
POST_BUILD
COMMANDS
COMMAND $<CONFIG:Release> copy "$<SHELL_PATH:${OUTPUT_DIRECTORY}>${TARGET_NAME}$ENV{TargetExt}" "$<SHELL_PATH:${CMAKE_CURRENT_SOURCE_DIR}/>/../build/addons/metamod/dlls/"
COMMAND $<CONFIG:Release> copy "$<SHELL_PATH:${CMAKE_CURRENT_SOURCE_DIR}/>/Release/libasexthook.so" "$<SHELL_PATH:${CMAKE_CURRENT_SOURCE_DIR}/>/../build/addons/metamod/dlls/"
)

0 comments on commit 62024e3

Please sign in to comment.