diff --git a/CMakeLists.txt b/CMakeLists.txt index 287bf244..5e81eef1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,7 @@ find_package(OpenMP REQUIRED) target_link_libraries(${PROJECT_NAME} INTERFACE OpenMP::OpenMP_CXX ViennaHRLE) if(VIENNALS_USE_VTK) + enable_language(C) CPMFindPackage( NAME VTK # TODO: Change to 9.3.1 as soon as it's released diff --git a/README.md b/README.md index fc3defeb..b7128217 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ git clone https://github.com/ViennaTools/ViennaLS.git cd ViennaLS cmake -B build -DCMAKE_INSTALL_PREFIX=/path/to/your/custom/install/ -cmake --build build +cmake --install build ``` This will install the necessary headers and CMake files to the specified path. If DCMAKE_INSTALL_PREFIX is not specified, it will be installed to the standard path for your system, usually /usr/local/ . @@ -77,7 +77,7 @@ git clone https://github.com/ViennaTools/ViennaLS.git cd ViennaLS cmake -B build -DCMAKE_INSTALL_PREFIX=/path/to/your/custom/install/ -DVIENNALS_USE_VTK=OFF -cmake --build build +cmake --install build ``` ## Installing with dependencies already installed on the system