summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2016-10-22 22:11:58 +0000
committerEduard Braun <eduard.braun2@gmx.de>2016-10-22 22:11:58 +0000
commitc59502af7267a350b3a3587a95c6ef4ad8b98dc0 (patch)
tree382ee725c814ba4bf230876e35d6fc6c9a31430c /src/CMakeLists.txt
parentFix bug#1635442 (diff)
downloadinkscape-c59502af7267a350b3a3587a95c6ef4ad8b98dc0.tar.gz
inkscape-c59502af7267a350b3a3587a95c6ef4ad8b98dc0.zip
CMake: inkscape.com needs the "-mconsole" linker flag to be useful
(bzr r15187)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fa4d73b70..1102bf4bf 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -494,6 +494,8 @@ if(WIN32)
# Build the windows MS-DOS console executable.
add_executable(inkscape_com winconsole.cpp)
+ set_target_properties(inkscape_com
+ PROPERTIES LINK_FLAGS "-mconsole")
endif()
# make executables for inkscape and inkview