[README] Modify guidelines for Build and Run test accepted/tizen/unified/20230727.173054
authorhyunil park <hyunil46.park@samsung.com>
Wed, 12 Jul 2023 05:01:52 +0000 (14:01 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Mon, 17 Jul 2023 02:29:26 +0000 (11:29 +0900)
When the user builds nnstreamer-edge directly, pkgconfig is installed in the "/" path.
Therefore, -DCMAKE_INSTALL_LIBDIR must be set together.

Signed-off-by: hyunil park <hyunil46.park@samsung.com>
README.md

index c9044e7c711a333275b54e609c0359f75c346a29..ccbc75a942267a7df9b07d75a8fa5da2d0d21450 100644 (file)
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ $ sudo systemctl start mosquitto
 ### Build and Run test
 ```
 # cd $NNST_EDGE_ROOT
-$ cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TEST=ON -DMQTT_SUPPORT=ON
+$ cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DENABLE_TEST=ON -DMQTT_SUPPORT=ON
 $ make -C build install
 
 # Run test