Browse Source

Use static runtime only on option is selected

Kim Kulling 3 năm trước cách đây
mục cha
commit
0a56065962
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      CMakeLists.txt

+ 0 - 6
CMakeLists.txt

@@ -164,12 +164,6 @@ IF (WIN32)
           $<$<CONFIG:Debug>:/MTd>
           $<$<CONFIG:Debug>:/MTd>
           $<$<CONFIG:Release>:/MT>
           $<$<CONFIG:Release>:/MT>
       )
       )
-    else()
-      add_compile_options(
-          $<$<CONFIG:>:/MD>
-          $<$<CONFIG:Debug>:/MDd>
-          $<$<CONFIG:Release>:/MD>
-      )
     endif()
     endif()
   ENDIF()
   ENDIF()
 ENDIF()
 ENDIF()