diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-14 22:22:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-14 22:22:39 +0400 |
commit | d4b04fac044b2fe0b6295f271a78c73d57ef0533 (patch) | |
tree | 383dec2ce2122296f0e369a9ade126e6340cf348 /CMakeLists.txt | |
parent | a6a646cf5bc18848ea7d51cbe9e88575999bc831 (diff) |
partial fix [#22846] GCC 4.4.1 support in Windows
Still getting error:
Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c14bdd6b9e..70ec8952ce1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -628,6 +628,12 @@ IF(WIN32) SET(WITH_JACK OFF) ENDIF(WITH_JACK) + IF(WITH_RAYOPTIMIZATION AND SUPPORT_SSE_BUILD) + SET(PLATFORM_CFLAGS " -msse -msse2 ${PLATFORM_CFLAGS}") + ADD_DEFINITIONS(-D__SSE__) + ADD_DEFINITIONS(-D__MMX__) + ENDIF(WITH_RAYOPTIMIZATION AND SUPPORT_SSE_BUILD) + ENDIF(MSVC) ENDIF(WIN32) |