diff --git a/Code/Wrappers/QtWidget/CMakeLists.txt b/Code/Wrappers/QtWidget/CMakeLists.txt
index c199e5ae77272b2e779b9f8ebaa50a2da2013e4e..b178a8e2b895b02aacd4224ee6b004defecaf4c7 100644
--- a/Code/Wrappers/QtWidget/CMakeLists.txt
+++ b/Code/Wrappers/QtWidget/CMakeLists.txt
@@ -25,7 +25,7 @@ target_link_libraries(OTBWrapperQtWidget OTBApplicationEngine ${QT_LIBRARIES})
 
 
 IF(OTB_LIBRARY_PROPERTIES)
-  SET_TARGET_PROPERTIES(OTBWrapperCommandLine PROPERTIES ${OTB_LIBRARY_PROPERTIES})
+  SET_TARGET_PROPERTIES(OTBWrapperQtWidget PROPERTIES ${OTB_LIBRARY_PROPERTIES})
 ENDIF(OTB_LIBRARY_PROPERTIES)