Skip to content

Commit

Permalink
Merge pull request #183 from thanasibakis/master
Browse files Browse the repository at this point in the history
Reinstate versioning for libhmsbeagle
  • Loading branch information
msuchard authored Sep 20, 2022
2 parents 6513447 + 038d7ea commit 2af9116
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ set(BEAGLE_VERSION_MAJOR "4")
set(BEAGLE_VERSION_MINOR "0")
set(BEAGLE_VERSION_PATCH "0")

set(GENERIC_API_VERSION "1")

set(BEAGLE_VERSION "${BEAGLE_VERSION_MAJOR}.${BEAGLE_VERSION_MINOR}.${BEAGLE_VERSION_PATCH}")
set(BEAGLE_PLUGIN_VERSION "${BEAGLE_VERSION_MAJOR}${BEAGLE_VERSION_MINOR}")

Expand Down
4 changes: 3 additions & 1 deletion libhmsbeagle/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ add_library(hmsbeagle SHARED
${BEAGLE_PLUGIN_SOURCE}
)

set_target_properties(hmsbeagle PROPERTIES PUBLIC_HEADER "beagle.h;platform.h")
set_target_properties(hmsbeagle PROPERTIES
PUBLIC_HEADER "beagle.h;platform.h"
VERSION ${GENERIC_API_VERSION})

if(NOT WIN32 AND NOT APPLE)
target_link_libraries(hmsbeagle ${CMAKE_DL_LIBS})
Expand Down

0 comments on commit 2af9116

Please sign in to comment.