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 cmake errors #176

Closed chenyang8094 closed 3 years ago

chenyang8094 commented 3 years ago

Hi, when I execute cmake, I get the following error:

-- Found Boost components:
   date_time;filesystem;iostreams;regex;system;thread
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- Found Threads: TRUE
-- C CXX target lucene++ cotired.
-- C CXX target lucene++-contrib cotired.
CMake Error at src/contrib/CMakeLists.txt:94 (install):
  install FILES given unknown argument "DESTINATION".

The cmake does not support multi DESTINATION in a install command, at the same time i think DESTINATION "src/contrib/include" is no need actually.

chenyang8094 commented 3 years ago

@p01arst0rm Please review my PR, thanks.

p01arst0rm commented 3 years ago

@chenyang8094 im not a project moderator :) it looks ok though

cc @alanw