Commit f053620a authored by Stéphane Albert's avatar Stéphane Albert

COMP: Fixed deplay_qt_conf( mvd2-catalogue ).

parent a18e44fe
......@@ -96,17 +96,7 @@ target_link_libraries( mvd2-catalogue
# deploy a qt.conf file in the monteverdi2 target build dir
# to avoid warning on translation discovery
add_custom_command(
TARGET mvd2-catalogue
PRE_BUILD
COMMAND ${CMAKE_COMMAND}
ARGS -D QT_TRANSLATIONS_DIR:PATH=${QT_TRANSLATIONS_DIR}
-D SOURCE_DIR:PATH=${CMAKE_CURRENT_SOURCE_DIR}
-D TARGET_DIR:PATH=$<TARGET_FILE_DIR:mvd2-catalogue>
-P ${CMAKE_CURRENT_SOURCE_DIR}/DeployQtConf.cmake
COMMENT "Deploying qt.conf in build dir"
VERBATIM
)
deploy_qt_conf( mvd2-catalogue )
#############################################################################
install(
......
......@@ -100,6 +100,8 @@ target_link_libraries( mvd2-viewer
${QT_QTMAIN_LIBRARY}
)
# deploy a qt.conf file in the monteverdi2 target build dir
# to avoid warning on translation discovery
deploy_qt_conf( mvd2-viewer )
#############################################################################
......
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