Simple Directmedia Layer

Do not look at local headers when determining features Avoids the detection of X11 on the build machine

authored by Elad Lahav and committed by Ryan C. Gordon eca7b8e4 c611c6ee

+4
build-scripts/cmake-toolchain-qnx-aarch64le.cmake
··· 8 8 set(CMAKE_CXX_COMPILER_TARGET ${arch}) 9 9 10 10 set(CMAKE_SYSROOT $ENV{QNX_TARGET}) 11 + 12 + set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 13 + set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 14 + set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
+4
build-scripts/cmake-toolchain-qnx-x86_64.cmake
··· 8 8 set(CMAKE_CXX_COMPILER_TARGET ${arch}) 9 9 10 10 set(CMAKE_SYSROOT $ENV{QNX_TARGET}) 11 + 12 + set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 13 + set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 14 + set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)