Skip to content
Permalink
Browse files

Add option USE_LOCKING for single-threaded build with locking support

  • Loading branch information...
martin-frbg committed May 15, 2019
1 parent d2cb610 commit 1e52572be38541cc11ac39cef6cded8a640bb65b
Showing with 4 additions and 0 deletions.
  1. +4 −0 cmake/system.cmake
@@ -136,6 +136,10 @@ endif ()

if (USE_THREAD)
message(STATUS "Multi-threading enabled with ${NUM_THREADS} threads.")
else()
if (${USE_LOCKING})
set(CCOMMON_OPT "${CCOMMON_OPT} -DUSE_LOCKING")
endif ()
endif ()

include("${PROJECT_SOURCE_DIR}/cmake/prebuild.cmake")

0 comments on commit 1e52572

Please sign in to comment.
You can’t perform that action at this time.