From: vsv Date: Wed, 11 Sep 2019 09:36:48 +0000 (+0300) Subject: Fix CMAKE warnings X-Git-Tag: V9_4_0a2~4^2~115 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5e45d6f96a27d89de01ad84e157ea60fb0046365;p=modules%2Fshaper.git Fix CMAKE warnings --- diff --git a/src/ModuleBase/CMakeLists.txt b/src/ModuleBase/CMakeLists.txt index 7361584e2..0c35b26a5 100644 --- a/src/ModuleBase/CMakeLists.txt +++ b/src/ModuleBase/CMakeLists.txt @@ -260,9 +260,9 @@ IF (${UPDATE_TRANSLATION}) ${TEXT_RESOURCES} OPTIONS -extensions cpp -no-recursive ) -ELSE(${UPDATE_TRANSLATION) +ELSE(${UPDATE_TRANSLATION}) QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES}) -ENDIF(${UPDATE_TRANSLATION) +ENDIF(${UPDATE_TRANSLATION}) SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES}) SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES}) diff --git a/src/PartSet/CMakeLists.txt b/src/PartSet/CMakeLists.txt index bb589e36b..7d0253255 100644 --- a/src/PartSet/CMakeLists.txt +++ b/src/PartSet/CMakeLists.txt @@ -145,9 +145,9 @@ IF (${UPDATE_TRANSLATION}) ${TEXT_RESOURCES} OPTIONS -extensions cpp -no-recursive ) -ELSE(${UPDATE_TRANSLATION) +ELSE(${UPDATE_TRANSLATION}) QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES}) -ENDIF(${UPDATE_TRANSLATION) +ENDIF(${UPDATE_TRANSLATION}) SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES}) #SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES}) diff --git a/src/XGUI/CMakeLists.txt b/src/XGUI/CMakeLists.txt index de8c26897..5769f19f3 100644 --- a/src/XGUI/CMakeLists.txt +++ b/src/XGUI/CMakeLists.txt @@ -185,9 +185,9 @@ IF (${UPDATE_TRANSLATION}) ${TEXT_RESOURCES} OPTIONS -extensions cpp -no-recursive ) -ELSE(${UPDATE_TRANSLATION) +ELSE(${UPDATE_TRANSLATION}) QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES}) -ENDIF(${UPDATE_TRANSLATION) +ENDIF(${UPDATE_TRANSLATION}) SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})