We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631be70 commit 65fa179Copy full SHA for 65fa179
test/hash_functions/CMakeLists.txt
@@ -14,13 +14,22 @@ target_sources(
14
waterhash.c
15
generate_hash_arrays.cpp
16
)
17
+
18
if(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
19
20
+ # Set the C++ standard to prevent icpc breakage
21
+ set(CMAKE_CXX_STANDARD 11)
22
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
23
+ set(CMAKE_CXX_EXTENSIONS OFF)
24
25
set_target_properties(test_hash_functions PROPERTIES LINKER_LANGUAGE Fortran)
26
endif()
27
28
if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU AND CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 10.0)
29
target_compile_options(
30
test_hash_functions
31
PRIVATE
32
$<$<COMPILE_LANGUAGE:Fortran>:-fno-range-check>
- )
33
+ )
34
35
0 commit comments