diff --git a/CMakeLists.txt b/CMakeLists.txt index d7d8ec1..f6850a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.13 FATAL_ERROR) PROJECT("nanovg") -SET(VERSION 0.0) +SET(VERSION 0.1) INCLUDE(GNUInstallDirs) @@ -44,7 +44,7 @@ TARGET_COMPILE_DEFINITIONS(nanovg_gles3 PRIVATE NANOVG_GLES3) SET_PROPERTY(TARGET nanovg_gles3 PROPERTY POSITION_INDEPENDENT_CODE ON) ADD_LIBRARY(nanovg_so SHARED $ $ $ $ $) -SET_TARGET_PROPERTIES(nanovg_so PROPERTIES VERSION 0.0.20200320 SOVERSION 0) +SET_TARGET_PROPERTIES(nanovg_so PROPERTIES VERSION ${VERSION} SOVERSION 0) SET_TARGET_PROPERTIES(nanovg_so PROPERTIES OUTPUT_NAME nanovg) TARGET_LINK_LIBRARIES(nanovg_so PUBLIC nanovg nanovg_gl2 nanovg_gl3 nanovg_gles2 nanovg_gles3) TARGET_LINK_LIBRARIES(nanovg_so PRIVATE GLEW EGL GL m)