fix: for issue #569, now use the guard to turn it off (#617)

This commit is contained in:
Sayan Bandyopadhyay authored and GitHub committed 2021-10-22 15:57:05 +08:00
1 parent f50dafc7d0
commit b9eff8b02a
1 file changed
+5 -1
+5 -1
View File
@@ -255,7 +255,11 @@ if(ENABLE_CJSON_TEST)
endif() endif()
#Create the uninstall target #Create the uninstall target
add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${PROJECT_SOURCE_DIR}/library_config/uninstall.cmake") option(ENABLE_CJSON_UNINSTALL "Enable creating uninstall target" ON)
if(ENABLE_CJSON_UNINSTALL)
add_custom_target(uninstall "${CMAKE_COMMAND}" -P
"${PROJECT_SOURCE_DIR}/library_config/uninstall.cmake")
endif()
# Enable the use of locales # Enable the use of locales
option(ENABLE_LOCALES "Enable the use of locales" ON) option(ENABLE_LOCALES "Enable the use of locales" ON)