Update FindSIMD.cmake
This commit is contained in:
parent
447e50a96f
commit
c3b0af424c
1 changed files with 2 additions and 2 deletions
|
@ -67,12 +67,12 @@ macro(check_sse type flags)
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS_SAVE})
|
set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS_SAVE})
|
||||||
|
|
||||||
if (NOT ${type}_FOUND)
|
if (NOT ${type}_FOUND)
|
||||||
set(${type}_FOUND FALSE CACHE BOOL "${type} support")
|
set(${type}_FOUND FALSE CACHE BOOL "${type} support")
|
||||||
set(${type}_FLAGS "" CACHE STRING "${type} flags")
|
set(${type}_FLAGS "" CACHE STRING "${type} flags")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
mark_as_advanced(${type}_FOUND ${type}_FLAGS)
|
mark_as_advanced(${type}_FOUND ${type}_FLAGS)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue