diff options
author | dcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2011-02-15 04:04:02 +0000 |
---|---|---|
committer | dcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2011-02-15 04:04:02 +0000 |
commit | 99fc57134b6d5de4236453b16115bda9946cd7f8 (patch) | |
tree | f570775d85c60ca333d33d0b2a4e991aee62c1f8 /trunk/sharedlib | |
parent | 2928706aea8b2ac12d51599f21974d92891ad6cb (diff) |
Ported jpgtest.cxx to pure C to avoid the need for a C++ compiler
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@361 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'trunk/sharedlib')
-rwxr-xr-x | trunk/sharedlib/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/trunk/sharedlib/CMakeLists.txt b/trunk/sharedlib/CMakeLists.txt index 369a3ed..3fd7aaf 100755 --- a/trunk/sharedlib/CMakeLists.txt +++ b/trunk/sharedlib/CMakeLists.txt @@ -8,9 +8,7 @@ if(MSVC) # Build all configurations against shared C library foreach(var CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE - CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO - CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE - CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO) + CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO) if(${var} MATCHES "/MT") string(REGEX REPLACE "/MT" "/MD" ${var} "${${var}}") endif() |