Add overrides for BUILD_SHARED_LIBS

This commit is contained in:
Max Bruckner
2017-11-28 17:16:11 +01:00
parent eb7c681a4b
commit 2a087843e4
3 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
if(ENABLE_CJSON_TEST)
add_library(unity unity/src/unity.c)
add_library(unity "${CJSON_LIBRARY_TYPE}" unity/src/unity.c)
# Disable -Werror for Unity
if (FLAG_SUPPORTED_Werror)