CMakeLists.txt: swap GNUInstallDirs and project

This commit is contained in:
yangfl 2017-11-04 17:39:54 +08:00
parent c083421f40
commit df1c49dba1
1 changed files with 2 additions and 2 deletions

View File

@ -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)