Skip to content

Commit

Permalink
Revert part of df8eed0
Browse files Browse the repository at this point in the history
Was too aggressive. Removing headers is fine, but we still need the static lib
  • Loading branch information
mdepinet authored Oct 22, 2024
1 parent df8eed0 commit 87dcb54
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions static_lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ message(STATUS "CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}")

include(bundle_static_library.cmake)
bundle_static_library(${PROJECT_NAME} onnxruntime)

install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}${PROJECT_NAME}${CMAKE_STATIC_LIBRARY_SUFFIX}
RENAME ${CMAKE_STATIC_LIBRARY_PREFIX}onnxruntime${CMAKE_STATIC_LIBRARY_SUFFIX}
TYPE LIB
)

0 comments on commit 87dcb54

Please sign in to comment.