File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,20 @@ if (BUILD_INDIGO_UTILS AND NOT BUILD_INDIGO)
4545endif ()
4646
4747if (BUILD_INDIGO_WRAPPERS)
48- message (STATUS "Enabling BUILD_INDIGO_WRAPPERS_PYTHON, BUILD_INDIGO_WRAPPERS_JAVA, BUILD_INDIGO_WRAPPERS_DOTNET because BUILD_INDIGO_WRAPPERS=ON" )
49- set (BUILD_INDIGO_WRAPPERS_PYTHON ON )
50- set (BUILD_INDIGO_WRAPPERS_JAVA ON )
51- set (BUILD_INDIGO_WRAPPERS_DOTNET ON )
52- # set(BUILD_INDIGO_WRAPPERS_R ON)
48+ if (NOT BUILD_INDIGO_WRAPPERS_PYTHON AND NOT BUILD_INDIGO_WRAPPERS_JAVA AND NOT BUILD_INDIGO_WRAPPERS_DOTNET)
49+ message (STATUS "No specific wrappers selected, disabling BUILD_INDIGO_WRAPPERS" )
50+ set (BUILD_INDIGO_WRAPPERS OFF )
51+ else ()
52+ if (BUILD_INDIGO_WRAPPERS_PYTHON)
53+ message (STATUS "Enabling BUILD_INDIGO_WRAPPERS_PYTHON" )
54+ endif ()
55+ if (BUILD_INDIGO_WRAPPERS_JAVA)
56+ message (STATUS "Enabling BUILD_INDIGO_WRAPPERS_JAVA" )
57+ endif ()
58+ if (BUILD_INDIGO_WRAPPERS_DOTNET)
59+ message (STATUS "Enabling BUILD_INDIGO_WRAPPERS_DOTNET" )
60+ endif ()
61+ endif ()
5362else ()
5463 message (STATUS "Disabling BUILD_INDIGO_WRAPPERS_PYTHON, BUILD_INDIGO_WRAPPERS_JAVA, BUILD_INDIGO_WRAPPERS_DOTNET because BUILD_INDIGO_WRAPPERS=OFF" )
5564 set (BUILD_INDIGO_WRAPPERS_PYTHON OFF )
You can’t perform that action at this time.
0 commit comments