mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 22:15:57 +03:00
Avoid warning because /MT overrides /MD flag
Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
parent
e4b53b12e1
commit
13d4b91935
2 changed files with 5 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
# Use static runtime for all subdirectories
|
||||
foreach(buildType "" "_DEBUG" "_MINSIZEREL" "_RELEASE" "_RELWITHDEBINFO")
|
||||
string(REPLACE "/MD" "/MT" "CMAKE_CXX_FLAGS${buildType}" "${CMAKE_CXX_FLAGS${buildType}}")
|
||||
endforeach()
|
||||
|
||||
add_subdirectory(OCContextMenu)
|
||||
add_subdirectory(OCOverlays)
|
||||
add_subdirectory(OCUtil)
|
||||
|
|
|
@ -8,11 +8,6 @@ add_library(OCUtil STATIC
|
|||
OCUtil.rc
|
||||
)
|
||||
|
||||
target_compile_options(OCUtil
|
||||
PUBLIC
|
||||
"/MT$<$<CONFIG:Debug>:d>"
|
||||
)
|
||||
|
||||
target_include_directories(OCUtil
|
||||
PUBLIC
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
|
|
Loading…
Reference in a new issue