summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorprotomors <protomors@gmail.com>2018-05-17 19:47:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-27 11:08:16 +0300
commit4ea1dda2702d2984348a5d036330087c2c68bfb2 (patch)
tree3e70c9ce96b9a6a944c3d390fa1a20c9869fdcc1 /cmake
parent94caa45505f1d03397215888d48f6eebf2d3d647 (diff)
CMake: Fixed building icons with nmake.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/icons.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/icons.cmake b/cmake/icons.cmake
index 0096748919..102bfd7f62 100644
--- a/cmake/icons.cmake
+++ b/cmake/icons.cmake
@@ -3,4 +3,5 @@ add_library(${TARGET} SHARED ${SOURCES})
set_target_properties(${TARGET} PROPERTIES
LINK_FLAGS "/SUBSYSTEM:WINDOWS /NOENTRY"
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Icons"
-) \ No newline at end of file
+)
+set_target_properties(${TARGET} PROPERTIES LINKER_LANGUAGE "CXX") \ No newline at end of file