luceneplusplus / LucenePlusPlus

Lucene++ is an up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.
luceneplusplus@googlegroups.com
Other
738 stars 232 forks source link

Fix headers install, contrib headers should be installed. #173

Closed hillwoodroc closed 3 years ago

hillwoodroc commented 3 years ago

I encountered this error while compiling:

CMake Error at src/contrib/CMakeLists.txt:94 (install):
  install FILES given unknown argument "LIBRARY".

There is a patch for version 3.0.8 stable on openSUSE: https://build.opensuse.org/package/view_file/openSUSE:Factory/lucene++/lucene++-3.0.8-fix-missing-headers.patch?expand=1 . It works fine on openSUSE. There is not the keyword "LIBRARY". I don't know if the keyword is redundant. You can try to remove the keyword "LIBRARY" on these two lines and compile again.

Vistaus commented 3 years ago

Same error on Deepin 20.2.2 (based on Debian 10). Removing the LIBRARY part fixes it.

hillwoodroc commented 3 years ago

Same error on Deepin 20.2.2 (based on Debian 10). Removing the LIBRARY part fixes it.

https://github.com/luceneplusplus/LucenePlusPlus/pull/174