Warning, /libraries/kproperty/autotests/headers/HeadersTestInclude.cmake is written in an unsupported language. File is not indexed.
0001 set(REQUIRED_QT_VERSION "5.2.0") 0002 find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets) 0003 #TODO: test KPROPERTY_KF 0004 find_package(KF5 5.7.0 REQUIRED Config CoreAddons WidgetsAddons GuiAddons) 0005 find_package(KPropertyCore ${PROJECT_VERSION} REQUIRED) 0006 find_package(KPropertyWidgets ${PROJECT_VERSION} REQUIRED) 0007 set(LIB_INSTALL_DIR "lib") 0008 include(KDECMakeSettings NO_POLICY_SCOPE) 0009 include(KDECompilerSettings NO_POLICY_SCOPE) 0010 if(POLICY CMP0063) # Honor visibility properties for all target types (since cmake 3.3) 0011 cmake_policy(SET CMP0063 NEW) 0012 endif() 0013 if(POLICY CMP0071) # Don't warn when combining AUTOMOC with qt5_wrap_ui() or qt5_add_resources() (since cmake 3.10) 0014 cmake_policy(SET CMP0071 NEW) 0015 endif()