Use standard CMake variables - static/shared lib.

Replace JSONCPP_LIB_BUILD_SHARED => BUILD_SHARED_LIBS
This commit is contained in:
Gaurav 2015-04-23 19:00:56 +05:30 committed by Christopher Dunn
parent 4f8ec9d207
commit c09e121aeb

View File

@ -16,7 +16,7 @@ dox:
# Then 'git add -A' and 'git push' in jsoncpp-docs.
build:
mkdir -p build/debug
cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=ON -G "Unix Makefiles" ../..
cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_SHARED_LIBS=ON -G "Unix Makefiles" ../..
make -C build/debug
# Currently, this depends on include/json/version.h generated