Commit 34848642 authored by Rashad Kanavath's avatar Rashad Kanavath

COMP: fix EXPORT_CODE_INSTALL for opengl, opencv

parent e906356a
...@@ -27,7 +27,5 @@ set(OTBOpenCV_LIBRARIES "${OPENCV_LIBRARIES}") ...@@ -27,7 +27,5 @@ set(OTBOpenCV_LIBRARIES "${OPENCV_LIBRARIES}")
set(OTBOpenCV_INCLUDE_DIRS set(OTBOpenCV_INCLUDE_DIRS
${OTBOpenCV_BINARY_DIR}/src ${OTBOpenCV_BINARY_DIR}/src
) )
set(OTBOpenCV_EXPORT_CODE_BUILD "find_package(OpenCV REQUIRED)")
set(OTBOpenCV_EXPORT_CODE_INSTALL ${OTBOpenCV_EXPORT_CODE_BUILD})
otb_module_impl() otb_module_impl()
...@@ -23,7 +23,12 @@ set(OTBOpenGL_THIRD_PARTY 1) ...@@ -23,7 +23,12 @@ set(OTBOpenGL_THIRD_PARTY 1)
set(OTBOpenGL_SYSTEM_INCLUDE_DIRS ${OPENGL_INCLUDE_DIR}) set(OTBOpenGL_SYSTEM_INCLUDE_DIRS ${OPENGL_INCLUDE_DIR})
set(OTBOpenGL_LIBRARIES ${OPENGL_LIBRARIES}) set(OTBOpenGL_LIBRARIES ${OPENGL_LIBRARIES})
set(OTBOpenGL_EXPORT_CODE_BUILD "find_package(OpenGL REQUIRED)") set(OTBOpenGL_EXPORT_CODE_INSTALL "
set(OTBOpenGL_EXPORT_CODE_INSTALL ${OTBOpenGL_EXPORT_CODE_BUILD}) set(OTBOpenGL_LIBRARIES)
set(OTBOpenGL_INCLUDE_DIRS)
find_package(OpenGL REQUIRED)
set(OTBOpenGL_LIBRARIES \${OPENGL_LIBRARIES})
set(OTBOpenGL_SYSTEM_INCLUDE_DIRS \${OPENGL_INCLUDE_DIR})
")
otb_module_impl() otb_module_impl()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment