Skip to content

Commit

Permalink
COMP: By default, disable JsonCpp support.
Browse files Browse the repository at this point in the history
Since JsonCpp library are not available by default, this commit changes
the default value for the SlicerExecutionModel_USE_JSONCPP option. That
way building the project only requires ITK and will ensure that existing
project can still build without explicitly turning the option to OFF.
  • Loading branch information
jcfr committed Jun 17, 2014
1 parent 11ea15b commit ec20a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ endforeach()
#-----------------------------------------------------------------------------
# ParameterSerializer support for ModuleDescriptionParser and GenerateCLP subprojects
#-----------------------------------------------------------------------------
option(SlicerExecutionModel_USE_JSONCPP "Enable JSON serialization support for GenerateCLP." ON)
option(SlicerExecutionModel_USE_JSONCPP "Enable JSON serialization support for GenerateCLP." OFF)
if(SlicerExecutionModel_USE_JSONCPP)
find_package(JsonCpp REQUIRED)
set(GenerateCLP_USE_JSONCPP ON)
Expand Down

0 comments on commit ec20a24

Please sign in to comment.