Hi.<br><br>I amĀ trying to provide a replacement for FIndNepomuk.cmake that will work with new Nepomuk layout . And I have a question for desired API of the script. In current draft all modules are treated as components. Examples:<br>
1. find_package(Nepomuk COMPONENTS core ui ) will try to found all required components and will set general variables NEPOMUK_FOUND, _LIBRARIES, _INCLUDE_DIRS and component-specific variables NEPOMUK_${COMPONENT}_FOUND, NEPOMUK_${COMPONENT}_LIBRARY, _INCLUDE_DIRS for each component ( expands to NEPOMUK_CORE_LIBRARY, NEPOMUK_UI_LIBRARY) etc.<br>
<br>2. find_package(Nepomuk) will try to found all available modules of the Nepomuk on the system and for every found module will set variables mentioned above. Global ones are combination of all component-specific, and NEPOMUK_FOUND is set to true if at least any package was discovered.<br>
<br>Downside of this solution is that we loose ability to request version for component, so it will require to sync versions at least between main modules.<br><br>Is this acceptable ? <br>Any comments and suggestions are welcome.<br clear="all">
<br>-- <br>Sincerely yours,<br>Artem Serebriyskiy<br>