@@ -16,7 +16,7 @@ configure_file(osi_version.proto.in ${CMAKE_CURRENT_SOURCE_DIR}/osi_version.prot
1616find_package (Protobuf 2.6.1 REQUIRED)
1717
1818set (OSI_PROTO_FILES
19- osi_version.proto
19+ osi_version.proto
2020 osi_common.proto
2121 osi_datarecording.proto
2222 osi_detectedlandmark.proto
@@ -84,22 +84,22 @@ if(NOT DOXYGEN_FOUND)
8484 message (WARNING "Doxygen could not be found." )
8585
8686else ()
87-
88- if (NOT EXISTS ${FILTER_PROTO2CPP_PY_PATH} /proto2cpp.py)
89-
90- message (WARNING "${FILTER_PROTO2CPP_PY_PATH} /proto2cpp.py could not be found." )
91-
92- else ()
93-
94- set (doxyfile_in ${CMAKE_CURRENT_SOURCE_DIR} /doxygen_config.cmake.in)
95- set (doxyfile ${CMAKE_CURRENT_BINARY_DIR} /Doxyfile)
96-
97- configure_file (${doxyfile_in} ${doxyfile} @ONLY)
98-
99- ADD_CUSTOM_TARGET (api_doc ALL
100- COMMAND ${DOXYGEN_EXECUTABLE} ${doxyfile}
101- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
102-
103- endif (NOT EXISTS ${FILTER_PROTO2CPP_PY_PATH} /proto2cpp.py)
104-
87+
88+ if (NOT EXISTS ${FILTER_PROTO2CPP_PY_PATH} /proto2cpp.py)
89+
90+ message (WARNING "${FILTER_PROTO2CPP_PY_PATH} /proto2cpp.py could not be found." )
91+
92+ else ()
93+
94+ set (doxyfile_in ${CMAKE_CURRENT_SOURCE_DIR} /doxygen_config.cmake.in)
95+ set (doxyfile ${CMAKE_CURRENT_BINARY_DIR} /Doxyfile)
96+
97+ configure_file (${doxyfile_in} ${doxyfile} @ONLY)
98+
99+ ADD_CUSTOM_TARGET (api_doc ALL
100+ COMMAND ${DOXYGEN_EXECUTABLE} ${doxyfile}
101+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
102+
103+ endif (NOT EXISTS ${FILTER_PROTO2CPP_PY_PATH} /proto2cpp.py)
104+
105105endif (NOT DOXYGEN_FOUND)
0 commit comments