Describe the issue
ONNXRuntime's CMake can't configure nsync_cpp, despite it exists at my system at /usr/lib/cmake/nsync_cpp/nsync_cppConfig.cmake
The ArchLinux package has this patch and git master too meant to fix exactly my issue.
Urgency
stalling me from working with ONNX
Target platform
Linux
Build script
cmake -S cmake \
-B build \
-Wno-dev \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-Donnxruntime_ENABLE_PYTHON=ON \
-Donnxruntime_BUILD_SHARED_LIB=ON \
-Donnxruntime_BUILD_UNIT_TESTS=OFF \
-DBUILD_TESTING=OFF
cmake --build build
Error / output
CMake Error at external/onnxruntime_external_deps.cmake:352 (add_library):
add_library cannot create ALIAS target "nsync::nsync_cpp" because target
"nsync_cpp" does not already exist.
Call Stack (most recent call first):
CMakeLists.txt:598 (include)
Visual Studio Version
No response
GCC / Compiler Version
14.2.1
Describe the issue
ONNXRuntime's CMake can't configure nsync_cpp, despite it exists at my system at
/usr/lib/cmake/nsync_cpp/nsync_cppConfig.cmakeThe ArchLinux package has this patch and git master too meant to fix exactly my issue.
Urgency
stalling me from working with ONNX
Target platform
Linux
Build script
Error / output
Visual Studio Version
No response
GCC / Compiler Version
14.2.1