Skip to content

Commit

Permalink
Had STATIC and SHARED mixed up in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyal Rozenberg authored and eyalroz committed Aug 3, 2021
1 parent bc5be7b commit 9890bdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9890bdc

Please sign in to comment.