build: bump to v1.3.0
cmake_minimum_required(VERSION 2.8)
project(fluent-bit)
+# Fluent Bit Version
+set(FLB_VERSION_MAJOR 1)
+set(FLB_VERSION_MINOR 3)
+set(FLB_VERSION_PATCH 0)
+set(FLB_VERSION_STR "${FLB_VERSION_MAJOR}.${FLB_VERSION_MINOR}.${FLB_VERSION_PATCH}")
+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
# Define macro to identify Windows system (without Cygwin)
@@ -36,12 +42,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/lib")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/library")
-# Fluent Bit Version
-set(FLB_VERSION_MAJOR 1)
-set(FLB_VERSION_MINOR 2)
-set(FLB_VERSION_PATCH 0)
-set(FLB_VERSION_STR "${FLB_VERSION_MAJOR}.${FLB_VERSION_MINOR}.${FLB_VERSION_PATCH}")
-
# Build Options
option(FLB_ALL "Enable all features" No)
option(FLB_DEBUG "Build with debug symbols" No)
