Skip to content

Commit 45887cf

Browse files
authored
Merge pull request #1527 from jehelset/jeh/system-context-build-shared-libs
Make `STDEXEC::system_context` respect `BUILD_SHARED_LIBS`.
2 parents f042eec + c6deccd commit 45887cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ if (STDEXEC_ENABLE_NUMA)
484484
endif()
485485

486486
set(SYSTEM_CONTEXT_SOURCES src/system_context/system_context.cpp)
487-
add_library(system_context STATIC ${SYSTEM_CONTEXT_SOURCES})
487+
add_library(system_context ${SYSTEM_CONTEXT_SOURCES})
488488
target_compile_features(system_context PUBLIC cxx_std_20)
489489
set_target_properties(system_context PROPERTIES
490490
CXX_STANDARD 20

0 commit comments

Comments
 (0)