From 772c4cbde52f1f295f66bb80a55d3db446742094 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sat, 18 Nov 2017 16:08:55 +0100 Subject: Also run API tests with CMARK_SHARED=OFF --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 4eb0541..a25b269 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ option(CMARK_SHARED "Build shared libcmark library" ON) option(CMARK_LIB_FUZZER "Build libFuzzer fuzzing harness" OFF) add_subdirectory(src) -if(CMARK_TESTS AND CMARK_SHARED) +if(CMARK_TESTS AND (CMARK_SHARED OR CMARK_STATIC)) add_subdirectory(api_test) endif() add_subdirectory(man) -- cgit v1.2.3