From af833ff042339ad6da3d5da0a0343f150b4c1998 Mon Sep 17 00:00:00 2001 From: Eldar Yusupov Date: Tue, 22 Oct 2019 20:25:35 +0300 Subject: [PATCH] Include CheckSymbolExists CMake module --- nominatim/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/nominatim/CMakeLists.txt b/nominatim/CMakeLists.txt index b391a342..d862b2b3 100644 --- a/nominatim/CMakeLists.txt +++ b/nominatim/CMakeLists.txt @@ -1,4 +1,5 @@ add_executable(nominatim export.c geometry.cpp import.c index.c input.c nominatim.c postgresql.c sprompt.c) +include(CheckSymbolExists) CHECK_SYMBOL_EXISTS(bswap_32 "byteswap.h" HAVE_BYTESWAP) CHECK_SYMBOL_EXISTS(bswap32 "sys/endian.h" HAVE_SYS_ENDIAN) -- 2.39.5