Closed hillwoodroc closed 3 years ago
I encountered this error while compiling: CMake Error at src/contrib/CMakeLists.txt:94 (install): install FILES given unknown argument "LIBRARY".
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.
Same error on Deepin 20.2.2 (based on Debian 10). Removing the LIBRARY part fixes it.
https://github.com/luceneplusplus/LucenePlusPlus/pull/174
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.