From 28e3ed18f83f6aa1978c3200932b3c161ba0bf81 Mon Sep 17 00:00:00 2001 From: casey langen Date: Tue, 7 Apr 2020 00:28:43 -0700 Subject: [PATCH] Ugh, fix incorrect path variable. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1be55a38a..e2b36742e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -368,5 +368,5 @@ add_custom_command(TARGET postbuild POST_BUILD COMMAND cmake .) # strip binaries in release mode if (CMAKE_BUILD_TYPE MATCHES Release) message(STATUS "stripping binaries...") - add_custom_command(TARGET postbuild POST_BUILD COMMAND "${CMAKE_CURRENT_BINARY_DIR}/strip-nix.sh") + add_custom_command(TARGET postbuild POST_BUILD COMMAND "${CMAKE_SOURCE_DIR}/strip-nix.sh") endif()