Skip to content

Commit

Permalink
Restore shared lib
Browse files Browse the repository at this point in the history
  • Loading branch information
xumingkuan committed Jan 31, 2025
1 parent c4ec0cf commit d4cd9b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ else ()
endif ()
endif ()

add_library(quartz_runtime STATIC ${QUARTZ_SRCS})
add_library(quartz_runtime SHARED ${QUARTZ_SRCS})

target_compile_features(quartz_runtime PUBLIC cxx_std_17)

Expand Down
2 changes: 1 addition & 1 deletion src/wrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ file(GLOB_RECURSE TEST_RPC "rpc/test_rpc.cpp")
file(GLOB_RECURSE TEST_ORACLE "test_oracle.cpp")
file(GLOB_RECURSE ORACLE "oracle.cpp")

add_library(oracle STATIC ${ORACLE})
add_library(oracle SHARED ${ORACLE})
target_link_libraries(oracle quartz_runtime)

add_executable(wrapper_rpc ${WRAPPER_RPC})
Expand Down

0 comments on commit d4cd9b7

Please sign in to comment.