We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd665ab + c3f424c commit 4396ce8Copy full SHA for 4396ce8
CMakeLists.txt
@@ -5,6 +5,7 @@ else()
5
endif()
6
7
set(CMAKE_C_STANDARD 11)
8
+set(BUILD_SHARED_LIBS ON CACHE BOOL "Build using shared libraries.")
9
10
if(CMAKE_VERSION VERSION_LESS "3.9.0")
11
project(qthreads
src/CMakeLists.txt
@@ -60,7 +60,7 @@ set(QTHREADS_SOURCES
60
patterns/wavefront.c
61
)
62
63
-add_library(qthread SHARED ${QTHREADS_SOURCES})
+add_library(qthread ${QTHREADS_SOURCES})
64
65
if ("${QTHREADS_CONTEXT_SWAP_IMPL}" STREQUAL "fastcontext")
66
target_sources(qthread PRIVATE fastcontext/asm.S fastcontext/context.c)
0 commit comments