Skip to content
Snippets Groups Projects
Commit 695eb565 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Format comments

parent 90bb7b62
No related branches found
No related tags found
No related merge requests found
......@@ -33,17 +33,17 @@ if(NOT OTB_VERSION VERSION_GREATER "5.2")
endif()
if(NOT EXISTS ${OTB_CMAKE_DIR}/OTBModuleMacros.cmake)
if(NOT OTB_BUILD_MODULE_AS_STANDALONE)
message(FATAL_ERROR "Modules can only be built against an OTB build tree; \
they cannot be built against an OTB install tree. You can build your module \
as a standalone CMake project instead, by activating the \
BUILD_MODULE_AS_STANDALONE option. Beware that dependency between remote \
modules will NOT be tracked.")
message(FATAL_ERROR "Modules can only be built against an OTB build tree; "
"they cannot be built against an OTB install tree. You can build "
"your module as a standalone CMake project instead, by activating "
"the BUILD_MODULE_AS_STANDALONE option. Beware that dependency "
"between remote modules will NOT be tracked.")
endif()
endif()
if(OTB_BUILD_MODULE_AS_STANDALONE)
message(STATUS "You are building this module as a standalone CMake project. \
Beware that dependencies to other remote modules will not be tracked.")
message(STATUS "You are building this module as a standalone CMake project. "
"Beware that dependencies to other remote modules will not be tracked.")
include(OTBStandaloneModuleMacros)
otb_module_impl()
else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment