X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=CMakeLists.txt;h=3549c89eaf45dcce7e6d29a13afb738a1978561b;hb=023021a879b3c7c1235b8a1fb936b2e20b7859b9;hp=f583d0a01bba52f2460f61ab7dc6630ea781e026;hpb=acadbdeee141a7825ebf863eb3bc38332a935bf2;p=flightgear.git diff --git a/CMakeLists.txt b/CMakeLists.txt index f583d0a01..3549c89ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -254,19 +254,6 @@ check_include_file(unistd.h HAVE_UNISTD_H) check_include_file(sys/time.h HAVE_SYS_TIME_H) check_include_file(windows.h HAVE_WINDOWS_H) -# definition depends on OSG version -set(CMAKE_REQUIRED_INCLUDES ${OPENSCENEGRAPH_INCLUDE_DIRS}) - -check_cxx_source_compiles( - "#include - int main() - { - osg::CullSettings::VariablesMask mask = osg::CullSettings::CLEAR_MASK; - return 0; - } - " - HAVE_CULLSETTINGS_CLEAR_MASK) - if(ENABLE_RTI) find_package(RTI) if(RTI_FOUND)