Skip to content
Snippets Groups Projects
Commit 6acc6996 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Experimental flag in CMakeLists of Manhattan style to suppress windows warning

parent 637e6ca3
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,15 @@ set(SRCS
extensions/threelevelsitempicker.cpp
)
if(MSVC)
foreach (flag_var
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
string(REPLACE "/MD" "-MT" ${flag_var} "${${flag_var}}")
endforeach()
endif()
set(include_dirs ${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${include_dirs})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment