Commit 00eaa00a authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

Fix build with older ECM versions , missing images folder in the ECM < 1.6.0

parent 5fc056e4
...@@ -105,9 +105,9 @@ find_package (KF5 QUIET COMPONENTS ...@@ -105,9 +105,9 @@ find_package (KF5 QUIET COMPONENTS
) )
if(KF5_FOUND) if(KF5_FOUND)
include(KDEInstallDirs) include(KDEInstallDirs)
add_subdirectory(images)
if (ECM_VERSION VERSION_GREATER "1.6.0") if (ECM_VERSION VERSION_GREATER "1.6.0")
add_subdirectory(images)
install(FILES org.kde.gcompris.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) install(FILES org.kde.gcompris.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES org.kde.gcompris.desktop DESTINATION ${KDE_INSTALL_APPDIR}) install(FILES org.kde.gcompris.desktop DESTINATION ${KDE_INSTALL_APPDIR})
endif() endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment