Summary: | Skrooge does not look for Grantlee at build time | ||
---|---|---|---|
Product: | [Applications] skrooge | Reporter: | Raphael Kubo da Costa <rakuco> |
Component: | general | Assignee: | Stephane MANKOWSKI <stephane> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | stephane |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: |
Description
Raphael Kubo da Costa
2011-10-22 23:54:30 UTC
Hi, As you can see there: https://projects.kde.org/projects/extragear/office/skrooge/repository/revisions/master/entry/plugins/skrooge/skrooge_monthly/CMakeLists.txt The FIND_PACKAGE for Grantlee is already present. ( Line 5: FIND_PACKAGE(Grantlee REQUIRED) ) What do you need more? If I try to build Skrooge 1.0.0 when Grantlee is not installed, I get the following messages: -- ..:: CMAKE PLUGIN_MONTHLY ::.. CMake Error at plugins/skrooge/skrooge_monthly/CMakeLists.txt:5 (FIND_PACKAGE): Could not find module FindGrantlee.cmake or a configuration file for package Grantlee. Adjust CMAKE_MODULE_PATH to find FindGrantlee.cmake or set Grantlee_DIR to the directory containing a CMake configuration file for Grantlee. The file will have one of the following names: GrantleeConfig.cmake grantlee-config.cmake -- GRANTLEE VERSION : .. -- enable GRANTLEE 0.1.4 API -- ..:: CMAKE GRANTLEE_FILTERS ::.. CMake Error at plugins/skrooge/skrooge_monthly/grantlee_filters/CMakeLists.txt:5 (INCLUDE): include called with wrong number of arguments. Include only takes one file. CMake Error at plugins/skrooge/skrooge_monthly/grantlee_filters/CMakeLists.txt:11 (GRANTLEE_ADD_PLUGIN): Unknown CMake command "GRANTLEE_ADD_PLUGIN". -- Configuring incomplete, errors occurred! Git commit 948e58b007983c0cb6de963b614ff6cd6e652ced by Stephane Mankowski. Committed on 23/10/2011 at 19:02. Pushed by smankowski into branch 'Feature'. BUG: 284752: Skrooge does not look for Grantlee at build time M +1 -0 CHANGELOG M +0 -3 CMakeLists.txt M +7 -1 plugins/skrooge/skrooge_monthly/CMakeLists.txt M +6 -1 skgbasemodeler/CMakeLists.txt M +1 -0 tests/CMakeLists.txt http://commits.kde.org/skrooge/948e58b007983c0cb6de963b614ff6cd6e652ced Note that you can also use macro_optional_find_package+macro_log_feature instead of find_package+manually specifying error messages. |