From 4ea1dda2702d2984348a5d036330087c2c68bfb2 Mon Sep 17 00:00:00 2001 From: protomors Date: Thu, 17 May 2018 19:47:44 +0300 Subject: CMake: Fixed building icons with nmake. --- cmake/icons.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}/$/Icons" -) \ No newline at end of file +) +set_target_properties(${TARGET} PROPERTIES LINKER_LANGUAGE "CXX") \ No newline at end of file -- cgit v1.2.3