Skip to content

Commit 4362bc7

Browse files
committed
build: allow enabling assertions
1 parent fd184d8 commit 4362bc7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ option(ENABLE_TESTING "build libdispatch tests" ON)
8383

8484
option(USE_LLD_LINKER "use the lld linker" FALSE)
8585

86+
option(DISPATCH_ENABLE_ASSERTS "enable debug assertions" FALSE)
87+
8688
if(NOT USE_LLD_LINKER AND
8789
(CMAKE_SYSTEM_NAME STREQUAL Linux OR
8890
CMAKE_SYSTEM_NAME STREQUAL FreeBSD OR

0 commit comments

Comments
 (0)