Skip to content

Commit 2572bc5

Browse files
authored
Fix typo in confcheck CMakeLists.txt for FSEEKO (#2179)
TYPE: bug fix KEYWORDS: cmake, typo SOURCE: internal DESCRIPTION OF CHANGES: Problem: There is a typo in the confcheck for arguments that are forwarded to `try_compile()` and `try_run()` functions Solution: Fix the typo TESTS CONDUCTED: 1. Tested on Derecho with ifx / oneAPI compilers
2 parents b15e341 + 914d9bb commit 2572bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

confcheck/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if ( NOT "${FSEEKO64}" )
5353
RESULT_VAR FSEEKO
5454
SOURCES ${PROJECT_SOURCE_DIR}/tools/fseek_test.c
5555
OPTIONS
56-
COMPILE_DEFINITINOS -DTEST_FSEEKO -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -DFILE_TO_TEST="${PROJECT_SOURCE_DIR}/CMakeLists.txt"
56+
COMPILE_DEFINITIONS -DTEST_FSEEKO -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -DFILE_TO_TEST="${PROJECT_SOURCE_DIR}/CMakeLists.txt"
5757
MESSAGE "fseeko not supported, compiling with fseek (caution with large files)"
5858
)
5959
endif()

0 commit comments

Comments
 (0)