Browse Source

Update comment for msvcrt CMake option

Camilla Löwy 4 years ago
parent
commit
9a0e88a016
1 changed files with 2 additions and 1 deletions
  1. 2 1
      CMakeLists.txt

+ 2 - 1
CMakeLists.txt

@@ -67,7 +67,8 @@ if (GLFW_BUILD_DOCS)
 endif()
 endif()
 
 
 #--------------------------------------------------------------------
 #--------------------------------------------------------------------
-# Set compiler specific flags
+# Apply Microsoft C runtime library option
+# This is here because it also applies to tests and examples
 #--------------------------------------------------------------------
 #--------------------------------------------------------------------
 if (MSVC AND NOT USE_MSVC_RUNTIME_LIBRARY_DLL)
 if (MSVC AND NOT USE_MSVC_RUNTIME_LIBRARY_DLL)
     if (${CMAKE_VERSION} VERSION_LESS 3.15)
     if (${CMAKE_VERSION} VERSION_LESS 3.15)