cJSON

mirror of Dave's cJSON
git clone git://git.thc420.xyz/cJSON
Log | Files | Refs | README | LICENSE

commit 8a11f8ce173d93fc8c0748a87dd5b8817a74f85c
parent c083421f408f0ee5012dca431baefe8791858a33
Author: Max Bruckner <max@maxbruckner.de>
Date:   Sat,  4 Nov 2017 13:30:59 +0100

Merge pull request #210 from yangfl/upstream

CMakeLists.txt: swap GNUInstallDirs and project
Diffstat:
MCMakeLists.txt | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -1,10 +1,10 @@ set(CMAKE_LEGACY_CYGWIN_WIN32 0) cmake_minimum_required(VERSION 2.8.5) -include(GNUInstallDirs) - project(cJSON C) +include(GNUInstallDirs) + set(PROJECT_VERSION_MAJOR 1) set(PROJECT_VERSION_MINOR 6) set(PROJECT_VERSION_PATCH 0)