forked from weaselab/conflict-set
Use PRE_LINK
According to https://cmake.org/cmake/help/latest/command/add_custom_command.html this more accurately matches the intent
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ endif()
|
|||||||
if(APPLE)
|
if(APPLE)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET ${PROJECT_NAME}-static
|
TARGET ${PROJECT_NAME}-static
|
||||||
PRE_BUILD
|
PRE_LINK
|
||||||
COMMAND ${CMAKE_SOURCE_DIR}/privatize_symbols_macos.sh
|
COMMAND ${CMAKE_SOURCE_DIR}/privatize_symbols_macos.sh
|
||||||
$<TARGET_OBJECTS:${PROJECT_NAME}-object>)
|
$<TARGET_OBJECTS:${PROJECT_NAME}-object>)
|
||||||
else()
|
else()
|
||||||
|
|||||||
Reference in New Issue
Block a user