Skip to content
Snippets Groups Projects
Commit 83d5a9ff authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Add header to OTBCheckSSEFeatures; Future work: use cmake_host_system_information

parent 6901d824
No related branches found
No related tags found
No related merge requests found
#
# Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
#
# This file is part of Orfeo Toolbox
#
# https://www.orfeo-toolbox.org/
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This should be deleted as it can be done with cmake_host_system_information
# https://cmake.org/cmake/help/v3.10/command/cmake_host_system_information.html?highlight=sse
function(check_sse_features sse_flags )
include(CheckCXXSourceRuns)
include(CheckCXXCompilerFlag)
......
......@@ -18,6 +18,9 @@
# limitations under the License.
#
# This maybe deleted as it might be done with cmake_host_system_information
# https://cmake.org/cmake/help/v3.10/command/cmake_host_system_information.html?highlight=sse
macro(OTB_CHECK_TARGET_SYSTEM_ARCH _RESULT1 _RESULT2)
set(${_RESULT1} "x64")
set(${_RESULT2} TRUE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment