2013-10-15 19:17:36 +04:00
|
|
|
#.rst:
|
|
|
|
# FindOpenMP
|
|
|
|
# ----------
|
|
|
|
#
|
|
|
|
# Finds OpenMP support
|
|
|
|
#
|
|
|
|
# This module can be used to detect OpenMP support in a compiler. If
|
|
|
|
# the compiler supports OpenMP, the flags required to compile with
|
2013-02-13 22:36:11 +04:00
|
|
|
# OpenMP support are returned in variables for the different languages.
|
|
|
|
# The variables may be empty if the compiler does not need a special
|
|
|
|
# flag to support OpenMP.
|
2009-01-28 20:45:03 +03:00
|
|
|
#
|
|
|
|
# The following variables are set:
|
|
|
|
#
|
2016-07-13 17:53:37 +03:00
|
|
|
# ``OpenMP_C_FLAGS``
|
|
|
|
# Flags to add to the C compiler for OpenMP support.
|
|
|
|
# ``OpenMP_CXX_FLAGS``
|
|
|
|
# Flags to add to the CXX compiler for OpenMP support.
|
|
|
|
# ``OpenMP_Fortran_FLAGS``
|
|
|
|
# Flags to add to the Fortran compiler for OpenMP support.
|
|
|
|
# ``OPENMP_FOUND``
|
|
|
|
# True if openmp is detected.
|
2016-07-13 18:12:38 +03:00
|
|
|
#
|
|
|
|
# The following internal variables are set, if detected:
|
|
|
|
#
|
|
|
|
# ``OpenMP_C_SPEC_DATE``
|
|
|
|
# Specification date of OpenMP version of C compiler.
|
|
|
|
# ``OpenMP_CXX_SPEC_DATE``
|
|
|
|
# Specification date of OpenMP version of CXX compiler.
|
|
|
|
# ``OpenMP_Fortran_SPEC_DATE``
|
|
|
|
# Specification date of OpenMP version of Fortran compiler.
|
|
|
|
#
|
|
|
|
# The specification dates are formatted as integers of the form
|
|
|
|
# ``CCYYMM`` where these represent the decimal digits of the century,
|
|
|
|
# year, and month.
|
2009-01-28 20:45:03 +03:00
|
|
|
|
2009-09-28 19:45:50 +04:00
|
|
|
#=============================================================================
|
|
|
|
# Copyright 2009 Kitware, Inc.
|
|
|
|
# Copyright 2008-2009 André Rigland Brodtkorb <Andre.Brodtkorb@ifi.uio.no>
|
2012-02-08 22:23:38 +04:00
|
|
|
# Copyright 2012 Rolf Eike Beer <eike@sf-mail.de>
|
2014-08-06 18:08:00 +04:00
|
|
|
# Copyright 2014 Nicolas Bock <nicolasbock@gmail.com>
|
2009-01-28 20:45:03 +03:00
|
|
|
#
|
2009-09-28 19:45:50 +04:00
|
|
|
# Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
# see accompanying file Copyright.txt for details.
|
|
|
|
#
|
|
|
|
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
# See the License for more information.
|
|
|
|
#=============================================================================
|
2010-08-07 04:48:47 +04:00
|
|
|
# (To distribute this file outside of CMake, substitute the full
|
2009-09-28 19:45:50 +04:00
|
|
|
# License text for the above reference.)
|
2009-01-28 20:45:03 +03:00
|
|
|
|
2012-02-08 21:46:57 +04:00
|
|
|
set(_OPENMP_REQUIRED_VARS)
|
2014-03-30 06:22:54 +04:00
|
|
|
set(CMAKE_REQUIRED_QUIET_SAVE ${CMAKE_REQUIRED_QUIET})
|
|
|
|
set(CMAKE_REQUIRED_QUIET ${OpenMP_FIND_QUIETLY})
|
2009-01-28 20:45:03 +03:00
|
|
|
|
2012-02-08 22:23:38 +04:00
|
|
|
function(_OPENMP_FLAG_CANDIDATES LANG)
|
|
|
|
set(OpenMP_FLAG_CANDIDATES
|
2013-11-14 00:41:33 +04:00
|
|
|
#Empty, if compiler automatically accepts openmp
|
|
|
|
" "
|
2012-02-08 22:23:38 +04:00
|
|
|
#GNU
|
|
|
|
"-fopenmp"
|
2015-12-10 18:40:27 +03:00
|
|
|
#Clang
|
|
|
|
"-fopenmp=libomp"
|
2012-02-08 22:23:38 +04:00
|
|
|
#Microsoft Visual Studio
|
|
|
|
"/openmp"
|
|
|
|
#Intel windows
|
|
|
|
"-Qopenmp"
|
|
|
|
#PathScale, Intel
|
|
|
|
"-openmp"
|
|
|
|
#Sun
|
|
|
|
"-xopenmp"
|
|
|
|
#HP
|
|
|
|
"+Oopenmp"
|
|
|
|
#IBM XL C/c++
|
|
|
|
"-qsmp"
|
|
|
|
#Portland Group, MIPSpro
|
|
|
|
"-mp"
|
|
|
|
)
|
|
|
|
|
|
|
|
set(OMP_FLAG_GNU "-fopenmp")
|
2015-12-10 18:40:27 +03:00
|
|
|
set(OMP_FLAG_Clang "-fopenmp=libomp")
|
2012-02-08 22:23:38 +04:00
|
|
|
set(OMP_FLAG_HP "+Oopenmp")
|
|
|
|
if(WIN32)
|
|
|
|
set(OMP_FLAG_Intel "-Qopenmp")
|
2014-06-26 17:29:04 +04:00
|
|
|
elseif(CMAKE_${LANG}_COMPILER_ID STREQUAL "Intel" AND
|
|
|
|
"${CMAKE_${LANG}_COMPILER_VERSION}" VERSION_LESS "15.0.0.20140528")
|
2012-02-08 22:23:38 +04:00
|
|
|
set(OMP_FLAG_Intel "-openmp")
|
2014-06-26 17:29:04 +04:00
|
|
|
else()
|
|
|
|
set(OMP_FLAG_Intel "-qopenmp")
|
2012-02-08 22:23:38 +04:00
|
|
|
endif()
|
|
|
|
set(OMP_FLAG_MIPSpro "-mp")
|
|
|
|
set(OMP_FLAG_MSVC "/openmp")
|
|
|
|
set(OMP_FLAG_PathScale "-openmp")
|
|
|
|
set(OMP_FLAG_PGI "-mp")
|
|
|
|
set(OMP_FLAG_SunPro "-xopenmp")
|
|
|
|
set(OMP_FLAG_XL "-qsmp")
|
2013-11-14 00:41:33 +04:00
|
|
|
set(OMP_FLAG_Cray " ")
|
2012-02-08 22:23:38 +04:00
|
|
|
|
|
|
|
# Move the flag that matches the compiler to the head of the list,
|
|
|
|
# this is faster and doesn't clutter the output that much. If that
|
|
|
|
# flag doesn't work we will still try all.
|
|
|
|
if(OMP_FLAG_${CMAKE_${LANG}_COMPILER_ID})
|
|
|
|
list(REMOVE_ITEM OpenMP_FLAG_CANDIDATES "${OMP_FLAG_${CMAKE_${LANG}_COMPILER_ID}}")
|
|
|
|
list(INSERT OpenMP_FLAG_CANDIDATES 0 "${OMP_FLAG_${CMAKE_${LANG}_COMPILER_ID}}")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(OpenMP_${LANG}_FLAG_CANDIDATES "${OpenMP_FLAG_CANDIDATES}" PARENT_SCOPE)
|
2012-08-13 21:50:14 +04:00
|
|
|
endfunction()
|
2009-01-28 20:45:03 +03:00
|
|
|
|
|
|
|
# sample openmp source code to test
|
2012-08-13 21:42:58 +04:00
|
|
|
set(OpenMP_C_TEST_SOURCE
|
2009-01-28 20:45:03 +03:00
|
|
|
"
|
|
|
|
#include <omp.h>
|
2012-08-13 21:42:58 +04:00
|
|
|
int main() {
|
2009-01-28 20:55:06 +03:00
|
|
|
#ifdef _OPENMP
|
2012-08-13 21:42:58 +04:00
|
|
|
return 0;
|
2009-01-28 20:45:03 +03:00
|
|
|
#else
|
|
|
|
breaks_on_purpose
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
")
|
|
|
|
|
2014-08-06 18:08:00 +04:00
|
|
|
# same in Fortran
|
|
|
|
set(OpenMP_Fortran_TEST_SOURCE
|
|
|
|
"
|
2014-11-20 16:54:11 +03:00
|
|
|
program test
|
|
|
|
use omp_lib
|
|
|
|
integer :: n
|
|
|
|
n = omp_get_num_threads()
|
|
|
|
end program test
|
2014-08-06 18:08:00 +04:00
|
|
|
"
|
|
|
|
)
|
|
|
|
|
2016-07-13 18:12:38 +03:00
|
|
|
set(OpenMP_C_CXX_CHECK_VERSION_SOURCE
|
|
|
|
"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <omp.h>
|
|
|
|
const char ompver_str[] = { 'I', 'N', 'F', 'O', ':', 'O', 'p', 'e', 'n', 'M',
|
|
|
|
'P', '-', 'd', 'a', 't', 'e', '[',
|
|
|
|
('0' + ((_OPENMP/100000)%10)),
|
|
|
|
('0' + ((_OPENMP/10000)%10)),
|
|
|
|
('0' + ((_OPENMP/1000)%10)),
|
|
|
|
('0' + ((_OPENMP/100)%10)),
|
|
|
|
('0' + ((_OPENMP/10)%10)),
|
|
|
|
('0' + ((_OPENMP/1)%10)),
|
|
|
|
']', '\\0' };
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
printf(\"%s\\n\", ompver_str);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
")
|
|
|
|
|
|
|
|
set(OpenMP_Fortran_CHECK_VERSION_SOURCE
|
|
|
|
"
|
|
|
|
program omp_ver
|
|
|
|
use omp_lib
|
|
|
|
integer, parameter :: zero = ichar('0')
|
|
|
|
integer, parameter :: ompv = openmp_version
|
|
|
|
character, dimension(24), parameter :: ompver_str =&
|
|
|
|
(/ 'I', 'N', 'F', 'O', ':', 'O', 'p', 'e', 'n', 'M', 'P', '-',&
|
|
|
|
'd', 'a', 't', 'e', '[',&
|
|
|
|
char(zero + mod(ompv/100000, 10)),&
|
|
|
|
char(zero + mod(ompv/10000, 10)),&
|
|
|
|
char(zero + mod(ompv/1000, 10)),&
|
|
|
|
char(zero + mod(ompv/100, 10)),&
|
|
|
|
char(zero + mod(ompv/10, 10)),&
|
|
|
|
char(zero + mod(ompv/1, 10)), ']' /)
|
|
|
|
print *, ompver_str
|
|
|
|
end program omp_ver
|
|
|
|
")
|
|
|
|
|
|
|
|
function(_OPENMP_GET_SPEC_DATE LANG SPEC_DATE)
|
|
|
|
set(WORK_DIR ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/FindOpenMP)
|
|
|
|
if("${LANG}" STREQUAL "C")
|
|
|
|
set(SRC_FILE ${WORK_DIR}/ompver.c)
|
|
|
|
file(WRITE ${SRC_FILE} "${OpenMP_C_CXX_CHECK_VERSION_SOURCE}")
|
|
|
|
elseif("${LANG}" STREQUAL "CXX")
|
|
|
|
set(SRC_FILE ${WORK_DIR}/ompver.cpp)
|
|
|
|
file(WRITE ${SRC_FILE} "${OpenMP_C_CXX_CHECK_VERSION_SOURCE}")
|
|
|
|
else() # ("${LANG}" STREQUAL "Fortran")
|
|
|
|
set(SRC_FILE ${WORK_DIR}/ompver.f90)
|
|
|
|
file(WRITE ${SRC_FILE} "${OpenMP_Fortran_CHECK_VERSION_SOURCE}")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(BIN_FILE ${WORK_DIR}/ompver_${LANG}.bin)
|
|
|
|
try_compile(OpenMP_TRY_COMPILE_RESULT ${CMAKE_BINARY_DIR} ${SRC_FILE}
|
|
|
|
CMAKE_FLAGS "-DCOMPILE_DEFINITIONS:STRING=${OpenMP_${LANG}_FLAGS}"
|
|
|
|
COPY_FILE ${BIN_FILE})
|
|
|
|
|
|
|
|
if(${OpenMP_TRY_COMPILE_RESULT})
|
|
|
|
file(STRINGS ${BIN_FILE} specstr LIMIT_COUNT 1 REGEX "INFO:OpenMP-date")
|
|
|
|
set(regex_spec_date ".*INFO:OpenMP-date\\[0*([^]]*)\\].*")
|
|
|
|
if("${specstr}" MATCHES "${regex_spec_date}")
|
|
|
|
set(${SPEC_DATE} "${CMAKE_MATCH_1}" PARENT_SCOPE)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
unset(OpenMP_TRY_COMPILE_RESULT CACHE)
|
|
|
|
endfunction()
|
|
|
|
|
|
|
|
|
2009-01-28 20:45:03 +03:00
|
|
|
# check c compiler
|
2012-02-22 20:47:52 +04:00
|
|
|
if(CMAKE_C_COMPILER_LOADED)
|
2012-02-08 22:23:38 +04:00
|
|
|
# if these are set then do not try to find them again,
|
|
|
|
# by avoiding any try_compiles for the flags
|
|
|
|
if(OpenMP_C_FLAGS)
|
|
|
|
unset(OpenMP_C_FLAG_CANDIDATES)
|
|
|
|
else()
|
|
|
|
_OPENMP_FLAG_CANDIDATES("C")
|
2012-11-04 00:35:44 +04:00
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/CheckCSourceCompiles.cmake)
|
2012-02-08 22:23:38 +04:00
|
|
|
endif()
|
2012-02-08 21:46:57 +04:00
|
|
|
|
2013-11-14 00:41:33 +04:00
|
|
|
foreach(FLAG IN LISTS OpenMP_C_FLAG_CANDIDATES)
|
2012-02-08 21:46:57 +04:00
|
|
|
set(SAFE_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}")
|
|
|
|
set(CMAKE_REQUIRED_FLAGS "${FLAG}")
|
|
|
|
unset(OpenMP_FLAG_DETECTED CACHE)
|
2014-03-30 06:22:54 +04:00
|
|
|
if(NOT CMAKE_REQUIRED_QUIET)
|
|
|
|
message(STATUS "Try OpenMP C flag = [${FLAG}]")
|
|
|
|
endif()
|
2012-02-08 21:46:57 +04:00
|
|
|
check_c_source_compiles("${OpenMP_C_TEST_SOURCE}" OpenMP_FLAG_DETECTED)
|
|
|
|
set(CMAKE_REQUIRED_FLAGS "${SAFE_CMAKE_REQUIRED_FLAGS}")
|
|
|
|
if(OpenMP_FLAG_DETECTED)
|
|
|
|
set(OpenMP_C_FLAGS_INTERNAL "${FLAG}")
|
|
|
|
break()
|
2012-08-13 21:50:14 +04:00
|
|
|
endif()
|
|
|
|
endforeach()
|
2012-02-08 21:46:57 +04:00
|
|
|
|
|
|
|
set(OpenMP_C_FLAGS "${OpenMP_C_FLAGS_INTERNAL}"
|
|
|
|
CACHE STRING "C compiler flags for OpenMP parallization")
|
|
|
|
|
|
|
|
list(APPEND _OPENMP_REQUIRED_VARS OpenMP_C_FLAGS)
|
|
|
|
unset(OpenMP_C_FLAG_CANDIDATES)
|
2016-07-13 18:12:38 +03:00
|
|
|
|
|
|
|
if (NOT OpenMP_C_SPEC_DATE)
|
|
|
|
_OPENMP_GET_SPEC_DATE("C" OpenMP_C_SPEC_DATE_INTERNAL)
|
|
|
|
set(OpenMP_C_SPEC_DATE "${OpenMP_C_SPEC_DATE_INTERNAL}" CACHE
|
|
|
|
INTERNAL "C compiler's OpenMP specification date")
|
|
|
|
endif()
|
2012-02-08 21:46:57 +04:00
|
|
|
endif()
|
2009-01-28 20:45:03 +03:00
|
|
|
|
|
|
|
# check cxx compiler
|
2012-02-22 20:47:52 +04:00
|
|
|
if(CMAKE_CXX_COMPILER_LOADED)
|
2012-02-08 22:23:38 +04:00
|
|
|
# if these are set then do not try to find them again,
|
|
|
|
# by avoiding any try_compiles for the flags
|
|
|
|
if(OpenMP_CXX_FLAGS)
|
|
|
|
unset(OpenMP_CXX_FLAG_CANDIDATES)
|
|
|
|
else()
|
|
|
|
_OPENMP_FLAG_CANDIDATES("CXX")
|
2012-11-04 00:35:44 +04:00
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/CheckCXXSourceCompiles.cmake)
|
2012-02-08 22:23:38 +04:00
|
|
|
|
|
|
|
# use the same source for CXX as C for now
|
|
|
|
set(OpenMP_CXX_TEST_SOURCE ${OpenMP_C_TEST_SOURCE})
|
|
|
|
endif()
|
2012-02-08 21:46:57 +04:00
|
|
|
|
2013-11-14 00:41:33 +04:00
|
|
|
foreach(FLAG IN LISTS OpenMP_CXX_FLAG_CANDIDATES)
|
2012-02-08 21:46:57 +04:00
|
|
|
set(SAFE_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}")
|
|
|
|
set(CMAKE_REQUIRED_FLAGS "${FLAG}")
|
|
|
|
unset(OpenMP_FLAG_DETECTED CACHE)
|
2014-03-30 06:22:54 +04:00
|
|
|
if(NOT CMAKE_REQUIRED_QUIET)
|
|
|
|
message(STATUS "Try OpenMP CXX flag = [${FLAG}]")
|
|
|
|
endif()
|
2012-02-08 21:46:57 +04:00
|
|
|
check_cxx_source_compiles("${OpenMP_CXX_TEST_SOURCE}" OpenMP_FLAG_DETECTED)
|
|
|
|
set(CMAKE_REQUIRED_FLAGS "${SAFE_CMAKE_REQUIRED_FLAGS}")
|
|
|
|
if(OpenMP_FLAG_DETECTED)
|
|
|
|
set(OpenMP_CXX_FLAGS_INTERNAL "${FLAG}")
|
|
|
|
break()
|
2012-08-13 21:50:14 +04:00
|
|
|
endif()
|
|
|
|
endforeach()
|
2012-02-08 21:46:57 +04:00
|
|
|
|
|
|
|
set(OpenMP_CXX_FLAGS "${OpenMP_CXX_FLAGS_INTERNAL}"
|
|
|
|
CACHE STRING "C++ compiler flags for OpenMP parallization")
|
|
|
|
|
|
|
|
list(APPEND _OPENMP_REQUIRED_VARS OpenMP_CXX_FLAGS)
|
|
|
|
unset(OpenMP_CXX_FLAG_CANDIDATES)
|
2016-07-13 18:12:38 +03:00
|
|
|
|
|
|
|
if (NOT OpenMP_CXX_SPEC_DATE)
|
|
|
|
_OPENMP_GET_SPEC_DATE("CXX" OpenMP_CXX_SPEC_DATE_INTERNAL)
|
|
|
|
set(OpenMP_CXX_SPEC_DATE "${OpenMP_CXX_SPEC_DATE_INTERNAL}" CACHE
|
|
|
|
INTERNAL "C++ compiler's OpenMP specification date")
|
|
|
|
endif()
|
2012-02-08 21:46:57 +04:00
|
|
|
endif()
|
|
|
|
|
2014-08-06 18:08:00 +04:00
|
|
|
# check Fortran compiler
|
|
|
|
if(CMAKE_Fortran_COMPILER_LOADED)
|
|
|
|
# if these are set then do not try to find them again,
|
|
|
|
# by avoiding any try_compiles for the flags
|
|
|
|
if(OpenMP_Fortran_FLAGS)
|
|
|
|
unset(OpenMP_Fortran_FLAG_CANDIDATES)
|
|
|
|
else()
|
|
|
|
_OPENMP_FLAG_CANDIDATES("Fortran")
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranSourceCompiles.cmake)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
foreach(FLAG IN LISTS OpenMP_Fortran_FLAG_CANDIDATES)
|
|
|
|
set(SAFE_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}")
|
|
|
|
set(CMAKE_REQUIRED_FLAGS "${FLAG}")
|
|
|
|
unset(OpenMP_FLAG_DETECTED CACHE)
|
|
|
|
if(NOT CMAKE_REQUIRED_QUIET)
|
|
|
|
message(STATUS "Try OpenMP Fortran flag = [${FLAG}]")
|
|
|
|
endif()
|
|
|
|
check_fortran_source_compiles("${OpenMP_Fortran_TEST_SOURCE}" OpenMP_FLAG_DETECTED)
|
|
|
|
set(CMAKE_REQUIRED_FLAGS "${SAFE_CMAKE_REQUIRED_FLAGS}")
|
|
|
|
if(OpenMP_FLAG_DETECTED)
|
|
|
|
set(OpenMP_Fortran_FLAGS_INTERNAL "${FLAG}")
|
|
|
|
break()
|
|
|
|
endif()
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
set(OpenMP_Fortran_FLAGS "${OpenMP_Fortran_FLAGS_INTERNAL}"
|
|
|
|
CACHE STRING "Fortran compiler flags for OpenMP parallization")
|
|
|
|
|
|
|
|
list(APPEND _OPENMP_REQUIRED_VARS OpenMP_Fortran_FLAGS)
|
|
|
|
unset(OpenMP_Fortran_FLAG_CANDIDATES)
|
2016-07-13 18:12:38 +03:00
|
|
|
|
|
|
|
if (NOT OpenMP_Fortran_SPEC_DATE)
|
|
|
|
_OPENMP_GET_SPEC_DATE("Fortran" OpenMP_Fortran_SPEC_DATE_INTERNAL)
|
|
|
|
set(OpenMP_Fortran_SPEC_DATE "${OpenMP_Fortran_SPEC_DATE_INTERNAL}" CACHE
|
|
|
|
INTERNAL "Fortran compiler's OpenMP specification date")
|
|
|
|
endif()
|
2014-08-06 18:08:00 +04:00
|
|
|
endif()
|
|
|
|
|
2014-03-30 06:22:54 +04:00
|
|
|
set(CMAKE_REQUIRED_QUIET ${CMAKE_REQUIRED_QUIET_SAVE})
|
|
|
|
|
2012-02-08 21:46:57 +04:00
|
|
|
if(_OPENMP_REQUIRED_VARS)
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
|
|
|
|
|
|
|
find_package_handle_standard_args(OpenMP
|
|
|
|
REQUIRED_VARS ${_OPENMP_REQUIRED_VARS})
|
|
|
|
|
|
|
|
mark_as_advanced(${_OPENMP_REQUIRED_VARS})
|
|
|
|
|
|
|
|
unset(_OPENMP_REQUIRED_VARS)
|
|
|
|
else()
|
|
|
|
message(SEND_ERROR "FindOpenMP requires C or CXX language to be enabled")
|
|
|
|
endif()
|
2016-07-13 18:01:01 +03:00
|
|
|
|
|
|
|
unset(OpenMP_C_TEST_SOURCE)
|
|
|
|
unset(OpenMP_CXX_TEST_SOURCE)
|
|
|
|
unset(OpenMP_Fortran_TEST_SOURCE)
|
2016-07-13 18:12:38 +03:00
|
|
|
unset(OpenMP_C_CXX_CHECK_VERSION_SOURCE)
|
|
|
|
unset(OpenMP_Fortran_CHECK_VERSION_SOURCE)
|