Skip to content

Commit c6deccd

Browse files
committed
Make STDEXEC::system_context respect BUILD_SHARED_LIBS.
1 parent 0242ad9 commit c6deccd

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
@@ -483,7 +483,7 @@ if (STDEXEC_ENABLE_NUMA)
483483
endif()
484484

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

0 commit comments

Comments
 (0)