diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index a15c9cc..a95e545 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -62,12 +62,6 @@ jobs: run: | echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" - - name: Install UPX on Windows - if: matrix.os == 'windows-latest' - run: | - choco install upx -y - shell: pwsh - - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a5d85c..e783480 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,11 +23,6 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release") if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") add_custom_command(TARGET ${target} POST_BUILD COMMAND ${CMAKE_STRIP} "${filename}" - COMMAND upx -9 "${filename}" - ) - else() - add_custom_command(TARGET ${target} POST_BUILD - COMMAND upx -9 "${filename}" ) endif() endif()