diff --git a/.gitignore b/.gitignore index 1f94071..b1e239a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,6 @@ cpplint-result.txt prod/resources/concordia-config/concordia.cfg concordia/common/config.hpp tests/resources/concordia-config/concordia.cfg +tests/resources/temp diff --git a/CMakeLists.txt b/CMakeLists.txt index c7b5eee..5452892 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,6 +24,8 @@ set (TEMP_WORD_MAP "temp_word_map.bin") set (TEMP_HASHED_INDEX "temp_hashed_index.bin") set (TEMP_SUFFIX_ARRAY "temp_suffix_array.bin") +file(MAKE_DIRECTORY ${TEST_RESOURCES_DIRECTORY}/temp) + SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")