Closed andreasbaumann closed 8 years ago
And if a standard path is found it must NOT be included in find_strus_package.cmake
..
For testing we should install strusBase, strus, strusAnalyzer, etc. in seprate directories:
/opt/strusBase
, /opt/strus
, /opt/strusAnalyzer
, etc. Otherwise we cannot be sure we
got all the places right where the vairables have to be set. But this also means that the
find_package mechanism has to be improved (for instance adding cmake variables where
we can set the directories by hand).
This bug applies to other repos? Checking..
Installing into
/opt/strus
with-DCMAKE_INSTALL_PREFIX=/opt/strus
fails.The probing of the strus packages works, I see:
but not one variable is actually used in the CMake files:
for instance ../src/queryproc/utils/CMakeLists.txt:
The variables
strusbase_INCLUDE_DIRS
andstrusbase_LIBRARY_DIRS
should be added everywhere where needed.