aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-05-20 18:15:07 +0200
committerCristian Adam <cristian.adam@qt.io>2019-05-20 16:37:36 +0000
commit3f32d79c998c7ce5cb2f6c73ed833b3c8fd2fd4f (patch)
tree0d89702a36d6af553985d4d2085ca8135b793ece /src/app
parentd8f459d48e40585eb0acfc62f6763d1c3704e699 (diff)
CMake build: Visual C++ rc fix
Change-Id: I12a12ed984647baf8751ed53a63e0876171ef536 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/app')
-rw-r--r--src/app/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
index fc5c1b3ce9..9fc7d17942 100644
--- a/src/app/CMakeLists.txt
+++ b/src/app/CMakeLists.txt
@@ -20,14 +20,14 @@ if (WIN32)
set(RC_COPYRIGHT "2008-${IDE_COPYRIGHT_YEAR} The Qt Company Ltd")
string(REPLACE " " "\\x20" RC_APPLICATION_NAME "${RC_APPLICATION_NAME}")
- string(REPLACE " " "\\X20" RC_COPYRIGHT "${RC_COPYRIGHT}")
- string(REPLACE "." "," RC_VERSION ${RC_VERSION})
+ string(REPLACE " " "\\x20" RC_COPYRIGHT "${RC_COPYRIGHT}")
+ string(REPLACE "." "," RC_VERSION "${RC_VERSION}")
target_compile_definitions(qtcreator PRIVATE
- RC_APPLICATION_NAME="${RC_APPLICATION_NAME}"
- RC_VERSION="${RC_VERSION}"
- RC_VERSION_STRING="${RC_VERSION_STRING}"
- RC_COPYRIGHT="${RC_COPYRIGHT}"
+ RC_APPLICATION_NAME=${RC_APPLICATION_NAME}
+ RC_VERSION=${RC_VERSION}
+ RC_VERSION_STRING=${RC_VERSION_STRING}
+ RC_COPYRIGHT=${RC_COPYRIGHT}
)
target_sources(qtcreator PRIVATE qtcreator.rc)