Fix add_custom_command to accept the argument with paren (#88)

* Update FetchOnnxruntime.cmake

* Update FetchOnnxruntime.cmake
This commit is contained in:
Kaito Udagawa 2024-04-16 10:38:46 +09:00 committed by GitHub
parent f4307168de
commit e5a10f48cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,7 @@ if(APPLE)
# add a codesigning step
add_custom_command(
TARGET "${CMAKE_PROJECT_NAME}"
PRE_BUILD
PRE_BUILD VERBATIM
COMMAND /usr/bin/codesign --force --verify --verbose --sign "${CODESIGN_IDENTITY}" "${Onnxruntime_LIB}")
add_custom_command(
TARGET "${CMAKE_PROJECT_NAME}"