Skip to content

Commit e26e057

Browse files
committed
[External][SOLLVE V&V] fix variable prefix typo OPENMP -> OpenMP
https://cmake.org/cmake/help/latest/manual/cmake-language.7.html#variables https://cmake.org/cmake/help/latest/module/FindOpenMP.html "Variable names are case-sensitive"
1 parent 24ae993 commit e26e057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

External/sollve_vv/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ set(NVIDIA_COMPILER_REDLIST
881881
function (add_sollvevv LANG)
882882
set(_includedir "${TEST_SUITE_SOLLVEVV_ROOT}/ompvv" )
883883

884-
if (NOT OPENMP_${LANG}_FOUND)
884+
if (NOT OpenMP_${LANG}_FOUND)
885885
message(FATAL_ERROR "OpenMP for ${LANG} not found")
886886
return ()
887887
endif ()
@@ -932,7 +932,7 @@ endfunction ()
932932
llvm_externals_find(TEST_SUITE_SOLLVEVV_ROOT "sollve_vv" "OpenMP Offloading Validation & Verification Suite")
933933

934934
if(TEST_SUITE_SOLLVEVV_ROOT AND NOT TEST_SUITE_BENCHMARKING_ONLY)
935-
if(OPENMP_FOUND)
935+
if(OpenMP_FOUND)
936936
message(STATUS "Adding OpenMP Offloading Validiation & Verification")
937937
else()
938938
message(STATUS "NOT using OpenMP Validiation & Verification because OpenMP was not found")

0 commit comments

Comments
 (0)