cmake: fix cmake error on Apple
This commit is contained in:
parent
b7556d467e
commit
86a9b85d04
|
@ -111,6 +111,10 @@ if(MSVC)
|
||||||
if(FRAMELESSHELPER_ENABLE_VCLTL)
|
if(FRAMELESSHELPER_ENABLE_VCLTL)
|
||||||
include(cmake/VC-LTL.cmake)
|
include(cmake/VC-LTL.cmake)
|
||||||
if("x${SupportLTL}" STREQUAL "xtrue")
|
if("x${SupportLTL}" STREQUAL "xtrue")
|
||||||
|
# Make sure we will always overwrite the previous settings.
|
||||||
|
unset(CMAKE_MSVC_RUNTIME_LIBRARY)
|
||||||
|
unset(CMAKE_MSVC_RUNTIME_LIBRARY CACHE)
|
||||||
|
#unset(CMAKE_MSVC_RUNTIME_LIBRARY PARENT_SCOPE)
|
||||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" CACHE STRING "" FORCE)
|
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" CACHE STRING "" FORCE)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
||||||
Subproject commit 05bb66276192725e0f581fe8b358587ec6cbeefd
|
Subproject commit ea37ad2a4bc0f6738387af8a1f1d980acc385c37
|
Loading…
Reference in New Issue