Skip to content

Commit

Permalink
fix: for issue #569, now use the guard to turn it off (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
saynb authored Oct 22, 2021
1 parent f50dafc commit b9eff8b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,11 @@ if(ENABLE_CJSON_TEST)
endif()

#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
option(ENABLE_LOCALES "Enable the use of locales" ON)
Expand Down

0 comments on commit b9eff8b

Please # to comment.