From 056139269eba1ec373fe57b82c0d98d3c31a28c4 Mon Sep 17 00:00:00 2001 From: mousepotato Date: Tue, 10 May 2022 03:34:26 -0700 Subject: [PATCH] Fix UNIX-like system installation script (#2232) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3bbf9324..f6a906ea 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ $ mkdir build && cd build # Create a build directory $ cmake -DCMAKE_BUILD_TYPE=Release .. # Configure the project with CMake $ cmake --build . # Compile the project $ ctest --verbose # Run tests -$ cmake --install # Run the install target (install library, public headers, application and CMake files) +$ cmake --install . # Run the install target (install library, public headers, application and CMake files) ``` This will install the library into the "standard locations". The library will be installed in `/usr/local/lib`, executables (including the exiv2 command-line program) in `/usr/local/bin/` and header files in `/usr/local/include/exiv2`. The target directory for the installation can be modified by using the CMake option `-DCMAKE_INSTALL_PREFIX`.