Browse Source

libjpeg-turbo: Don't use the static C library.

rude 11 years ago
parent
commit
8cc04f0e2c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libs/libjpeg-turbo/CMakeLists.txt

+ 1 - 1
libs/libjpeg-turbo/CMakeLists.txt

@@ -96,7 +96,7 @@ else()
   message(STATUS "In-memory source/destination managers disabled")
 endif()
 
-if(MSVC)
+if(MSVC AND NOT MEGA)
   # Use the static C library for all build types
   foreach(var CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE
     CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO)