Skip to content

Commit 196020d

Browse files
committed
Fix check for size_t.
1 parent 7e9137f commit 196020d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ check_function_exists(strchr HAVE_STRCHR)
3737
check_function_exists(strdup HAVE_STRDUP)
3838
check_function_exists(strtol HAVE_STRTOL)
3939

40-
include(CheckSymbolExists)
41-
check_symbol_exists(size_t "sys/types.h" HAVE_SIZE_T)
40+
include(CheckTypeSize)
41+
check_type_size("size_t" HAVE_SIZE_T)
4242

4343
include (CheckCCompiler)
4444
include (CheckStdCHeaders)

0 commit comments

Comments
 (0)