Skip to content

Commit

Permalink
Fix version number and prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
inniyah committed Jul 23, 2020
1 parent aa1dc31 commit a99c613
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.13 FATAL_ERROR)
PROJECT("nanovg")
SET(VERSION 0.0)
SET(VERSION 0.1)

INCLUDE(GNUInstallDirs)

Expand Down Expand Up @@ -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 $<TARGET_OBJECTS:nanovg> $<TARGET_OBJECTS:nanovg_gl2> $<TARGET_OBJECTS:nanovg_gl3> $<TARGET_OBJECTS:nanovg_gles2> $<TARGET_OBJECTS:nanovg_gles3>)
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)
Expand Down

0 comments on commit a99c613

Please sign in to comment.