File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Steps for generating solution/makefiles using `cmake-gui`:
58
58
* Make "source code" point to the source directory.
59
59
* Make "where to build the binary" point to the directory to use for the build.
60
60
* Click on the "Grouped" check box.
61
- * Review JsonCpp build options (tick ` JSONCPP_LIB_BUILD_SHARED ` to build as a
61
+ * Review JsonCpp build options (tick ` BUILD_SHARED_LIBS ` to build as a
62
62
dynamic library).
63
63
* Click the configure button at the bottom, then the generate button.
64
64
* The generated solution/makefiles can be found in the binary directory.
@@ -67,7 +67,7 @@ Alternatively, from the command-line on Unix in the source directory:
67
67
68
68
mkdir -p build/debug
69
69
cd build/debug
70
- cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_STATIC =ON -DJSONCPP_LIB_BUILD_SHARED =OFF -G "Unix Makefiles" ../..
70
+ cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_STATIC_LIBS =ON -DBUILD_SHARED_LIBS =OFF -G "Unix Makefiles" ../..
71
71
make
72
72
73
73
Running ` cmake - ` " will display the list of available generators (passed using
You can’t perform that action at this time.
0 commit comments