Skip to content

Commit

Permalink
bugfix ..
Browse files Browse the repository at this point in the history
  • Loading branch information
harrypuuter committed Apr 8, 2024
1 parent 5cae00b commit 2742adb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions cmake/AddBaseDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ find_package(OpenMP)
find_package(MPI)
# add nlohmann json
find_package(nlohmann_json)
find_package(Threads)
find_package(ZLIB)
3 changes: 2 additions & 1 deletion cmake/AddCorrectionlib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ else()
set(CORRECTION_LIB_PATH "${CORRECTIONLIBPATH}/../lib/libcorrectionlib.so")
endif()
set(THREADS_PREFER_PTHREAD_FLAG ON)

find_package(Threads)
find_package(ZLIB)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
message(STATUS "Correctionlib library path: ${CORRECTION_LIB_PATH}")
2 changes: 1 addition & 1 deletion cmake/AddOnnxruntime.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if(DEFINED ENV{LCG_VERSION})
REALPATH)
get_filename_component(ONNX_RUNTIME_INCLUDE_PATH
${ONNX_RUNTIME_LIB_PATH}/../../include REALPATH)
message(STATUS "ONNXRuntime include path: ${ONNX_RUNTIME_INCLUDE_PATH}")
message(STATUS "ONNXRuntime include path: ${ONNX_RUNTIME_INCLUDE_PATH}/core/session")
include_directories("${ONNX_RUNTIME_INCLUDE_PATH}/core/session")
endif()

Expand Down

0 comments on commit 2742adb

Please sign in to comment.