Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 66 | set_package_properties(epoxy PROPERTIES DESCRIPTION "libepoxy" | |||
---|---|---|---|---|---|
68 | TYPE OPTIONAL | 68 | TYPE OPTIONAL | ||
69 | PURPOSE "OpenGL dispatch library" | 69 | PURPOSE "OpenGL dispatch library" | ||
70 | ) | 70 | ) | ||
71 | 71 | | |||
72 | set(HAVE_EPOXY 0) | 72 | set(HAVE_EPOXY 0) | ||
73 | if(epoxy_FOUND) | 73 | if(epoxy_FOUND) | ||
74 | set(HAVE_EPOXY 1) | 74 | set(HAVE_EPOXY 1) | ||
75 | endif() | 75 | endif() | ||
76 | 76 | add_definitions(-DQT_NO_FOREACH) | |||
77 | add_subdirectory(src) | 77 | add_subdirectory(src) | ||
78 | if (BUILD_TESTING) | 78 | if (BUILD_TESTING) | ||
79 | add_subdirectory(autotests) | 79 | add_subdirectory(autotests) | ||
80 | add_subdirectory(tests) | 80 | add_subdirectory(tests) | ||
81 | endif() | 81 | endif() | ||
82 | 82 | | |||
83 | # Create a Config.cmake and a ConfigVersion.cmake file and install them | 83 | # Create a Config.cmake and a ConfigVersion.cmake file and install them | ||
84 | set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Declarative") | 84 | set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Declarative") | ||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |