cmake check_include_file examples

Signatures

check_include_file(<include> <variable> [<flags>])

Examples

timi-liuliang/echo thirdparty/vulkan/vulkan-loader/loader/CMakeLists.txt :184

check_include_file("cet.h" HAVE_CET_H)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/libcurl/CMake/FindGSS.cmake :159

check_include_file( "roken.h" _GSS_HAVE_ROKEN_H)

u3d-community/U3D Source/CMakeLists.txt :29

check_include_file (${HEADER} ${HAVE_HEADER})

FreeCAD/FreeCAD cMake/ConfigureChecks.cmake :12

check_include_file(GL/gl.h HAVE_GL_GL_H)

godlikepanos/anki-3d-engine ThirdParty/Sdl2/CMakeLists.txt :744

check_include_file("immintrin.h" HAVE_IMMINTRIN_H)

bambulab/BambuStudio deps/EXPAT/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

SoftFever/OrcaSlicer deps/EXPAT/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

cadaver/turso3d ThirdParty/SDL/CMakeLists.txt :844

check_include_file("lsxintrin.h" HAVE_LSXINTRIN_H)

Hork-Engine/Hork-Source ThirdParty/SDL3/CMakeLists.txt :828

check_include_file("lsxintrin.h" HAVE_LSXINTRIN_H)

RavEngine/RavEngine deps/freetype/CMakeLists.txt :303

check_include_file("unistd.h" HAVE_UNISTD_H)

AlizaMedicalImaging/AlizaMS CMakeLists.txt :329

check_include_file("rpc.h" MDCM_HAVE_RPC_H)

meganz/MEGAcmd build/cmake/modules/megacmd_configuration.cmake :24

check_include_file(inttypes.h HAVE_INTTYPES_H)

nextcloud/desktop src/csync/ConfigureChecks.cmake :20

check_include_file(argp.h HAVE_ARGP_H)

ZDoom/gzdoom libraries/ZMusic/thirdparty/dumb/CMakeLists.txt :7

check_include_file(alloca.h HAVE_ALLOCA_H)

etternagame/etterna extern/curl/CMakeLists.txt :451

check_include_file("openssl/crypto.h" HAVE_OPENSSL_CRYPTO_H)

NREL/OpenStudio CMakeLists.txt :333

check_include_file("unistd.h" HAVE_UNISTD_H)

liminchen/OptCuts ext/libigl/external/glfw/CMakeLists.txt :83

check_include_file(dinput.h DINPUT_H_FOUND)

wpilibsuite/allwpilib thirdparty/imgui_suite/glfw/src/CMakeLists.txt :291

check_include_file(dinput.h DINPUT_H_FOUND)

rheit/zdoom zlib/CMakeLists.txt :22

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

ezEngine/ezEngine Code/ThirdParty/glfw/CMakeLists.txt :116

check_include_file(dinput.h DINPUT_H_FOUND)

gnss-sdr/gnss-sdr src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cpu_features/CMakeLists.txt :152

check_include_file(dlfcn.h HAVE_DLFCN_H)

SsageParuders/Android_Native_Surface my_android_opencv/CMakeLists.txt :738

CHECK_INCLUDE_FILE(pthread.h HAVE_PTHREAD)

AcademySoftwareFoundation/MaterialX source/MaterialXGraphEditor/External/Glfw/CMakeLists.txt :72

check_include_file(dinput.h DINPUT_H_FOUND)

w111liang222/lidar-slam-detection slam/thirdparty/fast_gicp/thirdparty/nvbio/contrib/crc/CMakeLists.txt :18

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

TheAssemblyArmada/Thyme deps/baseconfig/cmake/CheckFunctions.cmake :6

check_include_file(strings.h HAVE_STRINGS_H)

LiangliangNan/MVStudio 3rd_party/jpeg/CMakeLists.txt :15

check_include_file ( stddef.h HAVE_STDDEF_H )

OpenMW/openmw CMakeLists.txt :430

check_include_file(stdint.h HAVE_STDINT_H)

Amber-MD/cpptraj cmake-cpptraj/Shorthand.cmake :156

check_include_file(${INCLUDE} ${VAR_NAME})

in-formant/in-formant external/freetype/CMakeLists.txt :241

check_include_file("unistd.h" HAVE_UNISTD_H)

DIPlib/diplib dependencies/libtiff/CMakeLists.txt :150

check_include_file(assert.h    HAVE_ASSERT_H)

awawa-dev/HyperHDR CMakeLists.txt :325

check_include_file("linux/fb.h" HAVE_FB)

GoSSIP-SJTU/TripleDoggy cmake/config-ix.cmake :26

check_include_file(dlfcn.h HAVE_DLFCN_H)

WerWolv/ImHex cmake/modules/FindLZ4.cmake :29

check_include_file( lz4frame.h HAVE_LZ4FRAME_H )

apache/trafficserver CMakeLists.txt :230

check_include_file(ifaddrs.h HAVE_IFADDRS_H)

vengi-voxel/vengi contrib/libs/sdl2/CMakeLists.txt :901

check_include_file("immintrin.h" HAVE_IMMINTRIN_H)

root-project/root interpreter/llvm-project/clang/CMakeLists.txt :168

check_include_file(sys/resource.h CLANG_HAVE_RLIMITS)

google/filament third_party/dawn/third_party/dxc/cmake/config-ix.cmake :45

check_include_file(dirent.h HAVE_DIRENT_H)

percona/percona-xtrabackup configure.cmake :626

CHECK_INCLUDE_FILE(netinet/in6.h HAVE_NETINET_IN6_H)

NREL/EnergyPlus third_party/Expat/ConfigureChecks.cmake :5

check_include_file("dlfcn.h" HAVE_DLFCN_H)

resiprocate/resiprocate contrib/srtp/CMakeLists.txt :22

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)

csmith-project/creduce CMakeLists.txt :91

check_include_file("dlfcn.h"		HAVE_DLFCN_H)

mysql/mysql-server configure.cmake :625

CHECK_INCLUDE_FILE(netinet/in6.h HAVE_NETINET_IN6_H)

GPSBabel/gpsbabel zlib.cmake :47

check_include_file(unistd.h HAVE_UNISTD_H)

openturns/openturns CMakeLists.txt :426

check_include_file (dlfcn.h       OPENTURNS_HAVE_DLFCN_H      )

robotology/yarp extern/thrift/thrift/build/cmake/ConfigureChecks.cmake :31

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)

apache/thrift build/cmake/ConfigureChecks.cmake :34

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)

datastax/cpp-driver src/third_party/sparsehash/CMakeLists.txt :98

check_include_file(inttypes.h HAVE_INTTYPES_H)

manticoresoftware/manticoresearch CMakeLists.txt :171

check_include_file ( "syslog.h" HAVE_SYSLOG_H )

sourcey/libsourcey vendor/zlib/CMakeLists.txt :22

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

OSVR/OSVR-Core src/osvr/Common/CMakeLists.txt :6

check_include_file(intrin.h OSVR_HAVE_INTRIN_H)

infiniflow/infinity third_party/curl/CMakeLists.txt :1020

check_include_file("ldap_ssl.h" HAVE_LDAP_SSL_H)

blchinezu/pocketbook-coolreader thirdparty/freetype/CMakeLists.txt :195

check_include_file("unistd.h" HAVE_UNISTD_H)

mysql/mysql-connector-cpp cdk/extra/zlib/CMakeLists.txt :51

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

AshamaneProject/AshamaneCore dep/cpr/opt/curl/CMakeLists.txt :365

check_include_file("openssl/crypto.h" HAVE_OPENSSL_CRYPTO_H)

vseasky/VersaAssistant assimp/contrib/zlib/CMakeLists.txt :35

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

astroidmail/astroid CMakeLists.txt :227

check_include_file (sass/context.h SASSCTX_CONTEXT_H)

FilmKilns/FilmKilns src/sdl2/cmake/sdlchecks.cmake :106

CHECK_INCLUDE_FILE(alsa/asoundlib.h HAVE_ASOUNDLIB_H)

asset-group/5ghoul-5g-nr-attacks libs/glfw/src/CMakeLists.txt :156

check_include_file(dinput.h DINPUT_H_FOUND)

rAthenaCN/rAthenaCN CMakeLists.txt :180

CHECK_INCLUDE_FILE( math.h HAVE_MATH_H )

google/cpu_features CMakeLists.txt :149

check_include_file(dlfcn.h HAVE_DLFCN_H)

alibaba/AliSQL configure.cmake :1177

CHECK_INCLUDE_FILE(netinet/in6.h HAVE_NETINET_IN6_H)

KhronosGroup/SPIRV-LLVM cmake/config-ix.cmake :45

check_include_file(dirent.h HAVE_DIRENT_H)

malaterre/GDCM CMakeLists.txt :601

CHECK_INCLUDE_FILE("pthread.h"      GDCM_HAVE_PTHREAD_H)

KiCad/kicad-source-mirror cmake/PerformFeatureChecks.cmake :51

check_include_file( "malloc.h" HAVE_MALLOC_H )

audacity/audacity au3/lib-src/portmixer/CMakeLists.txt :11

check_include_file( "pa_jack.h" PA_HAS_JACK )

muse-sequencer/muse src/CMakeLists.txt :359

CHECK_INCLUDE_FILE(ladspa.h HAVE_LADSPA_H)

mixxxdj/mixxx lib/libshout-idjc/CMakeLists.txt :128

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)

KDE/kid3 CMakeLists.txt :490

check_include_file("mntent.h" HAVE_MNTENT_H)

hyprwm/aquamarine CMakeLists.txt :72

check_include_file("sys/timerfd.h" HAS_TIMERFD)

llvm-dcpu16/llvm-dcpu16 cmake/config-ix.cmake :37

check_include_file(argz.h HAVE_ARGZ_H)

Farama-Foundation/ViZDoom src/vizdoom/zlib/CMakeLists.txt :22

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

microsoft/DirectXShaderCompiler cmake/config-ix.cmake :45

check_include_file(dirent.h HAVE_DIRENT_H)

qtfreet00/llvm-obfuscator cmake/config-ix.cmake :46

check_include_file(dirent.h HAVE_DIRENT_H)

yrnkrn/zapcc cmake/config-ix.cmake :47

check_include_file(dirent.h HAVE_DIRENT_H)

wang-bin/QtAV src/CMakeLists.txt :87

check_include_file(ass/ass.h HAVE_ASS_H)

Dreamtowards/Ethertia lib/glfw-3.3.8/CMakeLists.txt :77

check_include_file(dinput.h DINPUT_H_FOUND)

NauEngine/NauEditorPublic editor/external/libcurlconfig/CMakeLists.txt :1008

check_include_file("linux/tcp.h"      HAVE_LINUX_TCP_H)

rbfx/rbfx Source/ThirdParty/libdatachannel/deps/libsrtp/CMakeLists.txt :24

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/Expat/src/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

meshula/OpenSteer third-party/glfw/CMakeLists.txt :77

check_include_file(dinput.h DINPUT_H_FOUND)

ComputationalBiomechanicsLab/opensim-creator third_party/OpenBLAS/cmake/system_check.cmake :143

CHECK_INCLUDE_FILE("stdatomic.h" HAVE_C11)

KratosMultiphysics/Kratos external_libraries/vexcl/CMakeLists.txt :201

check_include_file("CL/cl_platform.h" HAVE_OpenCL_PLATFORM_H)

lirios/shell features.cmake :7

check_include_file("sys/prctl.h" HAVE_SYS_PRCTL_H)

logicalclocks/rondb configure.cmake :627

CHECK_INCLUDE_FILE(netinet/in6.h HAVE_NETINET_IN6_H)

KDE/marble src/3rdparty/zlib/CMakeLists.txt :10

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

transmission/transmission CMakeLists.txt :601

check_include_file(sys/inotify.h HAVE_SYS_INOTIFY_H)

crossuo/crossuo deps/cmcurl/CMakeLists.txt :464

check_include_file("openssl/crypto.h" HAVE_OPENSSL_CRYPTO_H)

Jackarain/proxy third_party/boost/libs/beast/test/extern/zlib-1.2.12/CMakeLists.txt :23

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

pingcap/tiflash contrib/curl-cmake/CMakeLists.txt :471

check_include_file("openssl/crypto.h" HAVE_OPENSSL_CRYPTO_H)

flomesh-io/pipy deps/leveldb-1.23/CMakeLists.txt :38

check_include_file("unistd.h" HAVE_UNISTD_H)

chsl/PLADE code/3rd_party/opencv/CMakeLists.txt :441

CHECK_INCLUDE_FILE(pthread.h HAVE_LIBPTHREAD)

shogun-toolbox/shogun src/shogun/CMakeLists.txt :215

CHECK_INCLUDE_FILE(xmmintrin.h HAVE_BUILTIN_VECTOR)

ornladios/ADIOS2 source/adios2/toolkit/sst/CMakeLists.txt :25

CHECK_INCLUDE_FILE(rdma/fi_ext_gni.h ADIOS2_SST_HAVE_FI_GNI)

SNMetamorph/PrimeXT client/CMakeLists.txt :6

check_include_file("tgmath.h" HAVE_TGMATH_H)

SCIInstitute/SCIRun src/CMakeLists.txt :605

CHECK_INCLUDE_FILE(limits.h HAVE_LIMITS)

commontk/CTK Libs/Core/CMake/ctkMacroBFDCheck.cmake :28

CHECK_INCLUDE_file(bfd.h HAVE_BFD_HEADER)

securesystemslab/multicompiler cmake/config-ix.cmake :45

check_include_file(dirent.h HAVE_DIRENT_H)

vxl/vxl contrib/oul/CMakeLists.txt :21

CHECK_INCLUDE_FILE("linux/videodev.h" OUL_HAVE_LINUX_VIDEODEV_H)

luigifreda/slamplay thirdparty/ros/roscpp_core/cpp_common/CMakeLists.txt :19

CHECK_INCLUDE_FILE(execinfo.h HAVE_EXECINFO_H)

john30/ebusd CMakeLists.txt :58

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)