From 1c900c5a8cbdbc984cc314081b9ad0dbe69947c6 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Thu, 4 Apr 2024 17:03:57 -0700 Subject: [PATCH] Use PRE_LINK According to https://cmake.org/cmake/help/latest/command/add_custom_command.html this more accurately matches the intent --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af617a0..9f52bed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,7 +128,7 @@ endif() if(APPLE) add_custom_command( TARGET ${PROJECT_NAME}-static - PRE_BUILD + PRE_LINK COMMAND ${CMAKE_SOURCE_DIR}/privatize_symbols_macos.sh $) else()