Skip to content

Commit e8378d1

Browse files
committed
Fixed swiched parameters in install
1 parent 2de1802 commit e8378d1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@ First, install both meson (which requires Python3) and ninja.
3838
Then,
3939

4040
cd jsoncpp/
41-
BUILD_TYPE=shared
42-
#BUILD_TYPE=static
43-
LIB_TYPE=debug
44-
#LIB_TYPE=release
41+
BUILD_TYPE=debug
42+
#BUILD_TYPE=release
43+
LIB_TYPE=shared
44+
#LIB_TYPE=static
4545
meson --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . build-${LIB_TYPE}
4646
ninja -v -C build-${LIB_TYPE} test
47+
cd build-${LIB_TYPE}
48+
sudo ninja install
4749

4850
### Building and testing with other build systems
4951
See https://github.com/open-source-parsers/jsoncpp/wiki/Building

0 commit comments

Comments
 (0)