Bump version in CMakeLists.txt to 1.3.0 (#692)

This commit is contained in:
Martin Chang 2021-01-17 12:03:27 +08:00 committed by GitHub
parent 1bbc457f0d
commit 0168cd0574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ include(CheckCXXSourceRuns)
check_cxx_source_runs(
${PROJECT_SOURCE_DIR}/cmake/tests/binary_compatibility_test.cc
cross_compiling)
if(cross_compiling)
set(BUILD_PROGRAMS OFF)
else(cross_compiling)
@ -22,7 +22,7 @@ option(LIBPQ_BATCH_MODE "Use batch mode for libpq" ON)
option(BUILD_DROGON_SHARED "Build drogon as a shared lib" OFF)
set(DROGON_MAJOR_VERSION 1)
set(DROGON_MINOR_VERSION 2)
set(DROGON_MINOR_VERSION 3)
set(DROGON_PATCH_VERSION 0)
set(DROGON_VERSION
${DROGON_MAJOR_VERSION}.${DROGON_MINOR_VERSION}.${DROGON_PATCH_VERSION})