Skip to content

Commit

Permalink
Add the /MD flag
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfer committed Sep 18, 2024
1 parent f838e54 commit 5694f5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/modules/clang.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ endif(enable-fast-math)
if(NOT WIN32)
tfel_add_cxx_compiler_flag_if_available(VISIBILITY_FLAGS "fvisibility=hidden")
tfel_add_cxx_compiler_flag_if_available(VISIBILITY_FLAGS "fvisibility-inlines-hidden")
tfel_add_cxx_compiler_flag_if_available(COMPILER_CXXFLAGS "MD")
endif(NOT WIN32)

set(OPTIMISATION_FLAGS "-DTFEL_NO_RUNTIME_CHECK_BOUNDS ${OPTIMISATION_FLAGS}")
Expand Down

0 comments on commit 5694f5f

Please sign in to comment.