Skip to content
Snippets Groups Projects
Commit 590dfb30 authored by Julien Michel's avatar Julien Michel
Browse files

COMP: Use the correct cmake variable to check for QtWidget module in OTB

parent e9a031aa
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ target_link_libraries( mapla
${QT_QTMAIN_LIBRARY}
)
if( OTB_USE_QT4 )
if( OTBQtWidget_LOADED )
target_link_libraries( mapla
Monteverdi2_ApplicationsWrapper
)
......
......@@ -89,7 +89,7 @@ target_link_libraries( Monteverdi2_Catalogue
Monteverdi2_Gui
)
if (OTB_USE_QT4)
if (OTBQtWidget_LOADED)
target_link_libraries( Monteverdi2_Catalogue
Monteverdi2_ApplicationsWrapper
)
......
......@@ -89,7 +89,7 @@ target_link_libraries( Monteverdi2_Mv2
Monteverdi2_Gui
)
if (OTB_USE_QT4)
if (OTBQtWidget_LOADED)
target_link_libraries( Monteverdi2_Mv2
Monteverdi2_ApplicationsWrapper
)
......
......@@ -3,7 +3,7 @@
add_subdirectory( Core )
add_subdirectory( Gui )
if (OTB_USE_QT4)
if (OTBQtWidget_LOADED)
message("-- Generating Qt Wrapped Applications.")
add_subdirectory(ApplicationsWrapper)
endif()
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