cmake HAVE_RPI examples

skylersaleh/SkyEmu src/SDL2/cmake/sdlchecks.cmake :1227

check_c_source_compiles("
        #include <bcm_host.h>
        #include <EGL/eglplatform.h>
        int main(int argc, char **argv) {
          EGL_DISPMANX_WINDOW_T window;
          bcm_host_init();
        }" HAVE_RPI)

u3d-community/U3D Source/ThirdParty/SDL/cmake/sdlchecks.cmake :1307

check_c_source_compiles("
        #include <bcm_host.h>
        #include <EGL/eglplatform.h>
        int main(int argc, char **argv) {
          EGL_DISPMANX_WINDOW_T window;
          bcm_host_init();
        }" HAVE_RPI)

openc2e/openc2e externals/SDL2/cmake/sdlchecks.cmake :1238

check_c_source_compiles("
        #include <bcm_host.h>
        #include <EGL/eglplatform.h>
        int main(int argc, char **argv) {
          EGL_DISPMANX_WINDOW_T window;
          bcm_host_init();
        }" HAVE_RPI)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/SDL2/cmake/sdlchecks.cmake :1302

check_c_source_compiles("
        #include <bcm_host.h>
        int main(int argc, char **argv) {
          bcm_host_init();
        }" HAVE_RPI)

rbfx/rbfx Source/ThirdParty/SDL/cmake/sdlchecks.cmake :1246

check_c_source_compiles("
        #include <bcm_host.h>
        #include <EGL/eglplatform.h>
        int main(int argc, char **argv) {
          EGL_DISPMANX_WINDOW_T window;
          bcm_host_init();
        }" HAVE_RPI)

vengi-voxel/vengi contrib/libs/sdl2/cmake/sdlchecks.cmake :1302

check_c_source_compiles("
        #include <bcm_host.h>
        int main(int argc, char **argv) {
          bcm_host_init();
        }" HAVE_RPI)

godlikepanos/anki-3d-engine ThirdParty/Sdl2/cmake/sdlchecks.cmake :1227

check_c_source_compiles("
        #include <bcm_host.h>
        #include <EGL/eglplatform.h>
        int main(int argc, char **argv) {
          EGL_DISPMANX_WINDOW_T window;
          bcm_host_init();
        }" HAVE_RPI)

klaussilveira/qengine vendor/SDL2-2.0.22/cmake/sdlchecks.cmake :1227

check_c_source_compiles("
        #include <bcm_host.h>
        #include <EGL/eglplatform.h>
        int main(int argc, char **argv) {
          EGL_DISPMANX_WINDOW_T window;
          bcm_host_init();
        }" HAVE_RPI)