From 9890bdc3e1cf4f473ae0588567b0141631da8b16 Mon Sep 17 00:00:00 2001 From: Eyal Rozenberg Date: Wed, 14 Jul 2021 22:32:24 +0300 Subject: [PATCH] Had `STATIC` and `SHARED` mixed up in `CMakeLists.txt` --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d725cfdb..9a337ee7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,9 +67,9 @@ option(BUILD_STATIC_LIBRARY "Build the library as static rather than shared" OFF if (BUILD_STATIC_LIBRARY) - add_library(mpaland-printf SHARED printf.c) -else() add_library(mpaland-printf STATIC printf.c) +else() + add_library(mpaland-printf SHARED printf.c) endif() set_property(TARGET mpaland-printf PROPERTY C_STANDARD 99)