Skip to content
Snippets Groups Projects
Commit 80510e6c authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

PKG: missing export code for Qt5

parent d29b1748
No related branches found
No related tags found
No related merge requests found
......@@ -22,10 +22,13 @@ project( OTBQt )
set( OTBQt_LIBRARIES ${Qt5Widgets_LIBRARIES} ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES} ${Qt5OpenGL_LIBRARIES})
set( OTBQt_SYSTEM_INCLUDE_DIRS ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Core_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIRS} ${Qt5OpenGL_INCLUDE_DIRS} )
set( Qt5Widgets_LIBRARIES "${Qt5Widgets_VERSION}" CACHE INTERNAL "" FORCE )
set( Qt5Core_LIBRARIES "${Qt5Core_VERSION}" CACHE INTERNAL "" FORCE )
set( Qt5Gui_LIBRARIES "${Qt5Gui_VERSION}" CACHE INTERNAL "" FORCE )
set( Qt5OpenGL_LIBRARIES "${Qt5OpenGL_VERSION}" CACHE INTERNAL "" FORCE )
set( OTBQt_EXPORT_CODE_BUILD
"find_package(Qt5Core REQUIRED HINTS ${Qt5Core_DIR})
find_package(Qt5Gui REQUIRED HINTS ${Qt5Gui_DIR})
find_package(Qt5Widgets REQUIRED HINTS ${Qt5Widgets_DIR})
find_package(Qt5OpenGL REQUIRED HINTS ${Qt5OpenGL_DIR})
find_package(Qt5LinguistTools HINTS ${Qt5LinguistTools_DIR})
")
set( OTBQt_EXPORT_CODE_INSTALL ${OTBQt_EXPORT_CODE_BUILD})
otb_module_impl()
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