Skip to content

Commit

Permalink
Change nncase_cpu_runtime to OBJECT
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnycase committed Nov 8, 2024
1 parent 9a4e2b7 commit ca82115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntt/cmake/cpu_runtime.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)

include(${CMAKE_CURRENT_LIST_DIR}/compile_flags.cmake)

add_library(nncase_cpu_runtime STATIC ${CMAKE_CURRENT_LIST_DIR}/../src/cpu_runtime.cpp)
add_library(nncase_cpu_runtime OBJECT ${CMAKE_CURRENT_LIST_DIR}/../src/cpu_runtime.cpp)
target_compile_features(nncase_cpu_runtime PUBLIC cxx_std_20)
target_include_directories(nncase_cpu_runtime PUBLIC ${CMAKE_CURRENT_LIST_DIR}/../include)

Expand Down

0 comments on commit ca82115

Please sign in to comment.