Browse Source

CMake: Add compile options

pull/52/head
Max Bruckner 8 years ago
parent
commit
fd38fb712d
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -6,6 +6,8 @@ set(CJSON_VERSION_PATCH 0)
set(CJSON_VERSION_SO 1)
set(CJSON_VERSION "${CJSON_VERSION_MAJOR}.${CJSON_VERSION_MINOR}.${CJSON_VERSION_PATCH}")
add_compile_options(-ansi -pedantic -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings)
#cJSON
set(PROJ_CJSON cJSON)
set(CJSON_LIB cjson)

Loading…
Cancel
Save