diff options
author | azazel <none@none> | 2010-08-20 12:08:12 +0600 |
---|---|---|
committer | azazel <none@none> | 2010-08-20 12:08:12 +0600 |
commit | acc43ea47debe50ee0b278aa97126408db941eca (patch) | |
tree | 46faf153ff92cbc7bbac21bd99d7077c244f1b5c | |
parent | 8d62f4e6ce0ecc9ec865c6ffacb218f7e0ea62a2 (diff) |
Buildsystem: add missing argument to macro. Fixes CMake issues on Win
--HG--
branch : trunk
-rw-r--r-- | cmake/OptimizeForArchitecture.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/OptimizeForArchitecture.cmake b/cmake/OptimizeForArchitecture.cmake index ad537275e03..51917a4e1aa 100644 --- a/cmake/OptimizeForArchitecture.cmake +++ b/cmake/OptimizeForArchitecture.cmake @@ -178,7 +178,7 @@ macro(OptimizeForArchitecture) # MSVC on 32 bit can select only /arch:SSE2 # MSVC on 64 bit cannot select anything if(NOT CMAKE_CL_64) - _my_find(_enable_vector_unit_list "sse2") + _my_find(_enable_vector_unit_list "sse2" SSE2_FOUND) AddCompilerFlag("/arch:SSE2") endif(NOT CMAKE_CL_64) foreach(_flag ${_enable_vector_unit_list}) |