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

This commit is contained in:
Sayan Bandyopadhyay 2021-10-22 00:57:05 -07:00 committed by GitHub
parent f50dafc7d0
commit b9eff8b02a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)