We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbdfc0f commit 770eedcCopy full SHA for 770eedc
test/time/CMakeLists.txt
@@ -4,8 +4,7 @@ add_library(fortran_clock OBJECT clock.f90)
4
add_executable(cxx_fortran_tictoc main.cpp $<TARGET_OBJECTS:fortran_clock>)
5
add_test(NAME C++_Fortran_tictoc COMMAND cxx_fortran_tictoc)
6
7
-file(READ strftime.f90 src)
8
-check_source_compiles(Fortran "${src}" HAVE_C_STRFTIME)
+check_symbol_exists(strftime "time.h" HAVE_C_STRFTIME)
9
10
set(tests strptime)
11
if(HAVE_C_STRFTIME)
0 commit comments