Skip to content

Commit

Permalink
tools: rcedit: use inherited CMAKE_MSVC_RUNTIME_LIBRARY
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Nov 9, 2020
1 parent 1092275 commit 4d9173c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tools/rcedit/CMakeLists.txt
Expand Up @@ -13,12 +13,6 @@ project(rcedit)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

if(ORC_USE_STATIC_CRT)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
else()
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()

add_compile_options(/EHsc)

list(APPEND COMPILE_OPTIONS_RELEASE
Expand Down

0 comments on commit 4d9173c

Please sign in to comment.