Skip to content

Commit

Permalink
Update version information.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamscottxu committed Jul 11, 2021
1 parent fa28185 commit 2a70ef1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ set(obs-rtspserver_HEADERS
rtsp_properties.h
rtsp_output_helper.h
)

set(OBS_RTSPSERVER_VERSION_MAJOR 2)
set(OBS_RTSPSERVER_VERSION_MINOR 1)
set(OBS_RTSPSERVER_VERSION_PATCH 0)
set(OBS_RTSPSERVER_VERSION_STRING "${OBS_RTSPSERVER_VERSION_MAJOR}.${OBS_RTSPSERVER_VERSION_MINOR}.${OBS_RTSPSERVER_VERSION_PATCH}")
add_definitions(-DVERSION_STRING="${OBS_RTSPSERVER_VERSION_STRING}")

if(WIN32)
set(OBS_RTSPSERVER_VERSION_MAJOR 2)
set(OBS_RTSPSERVER_VERSION_MINOR 0)
set(OBS_RTSPSERVER_VERSION_PATCH 6)
set(OBS_RTSPSERVER_VERSION_STRING "2.0.6")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/rtspoutput.rc.in ${CMAKE_CURRENT_SOURCE_DIR}/rtspoutput.rc)
endif()

Expand Down Expand Up @@ -70,7 +72,7 @@ else()
set_target_properties(obs-rtspserver
PROPERTIES
FOLDER "plugins"
VERSION "2.0.6"
VERSION "${OBS_RTSPSERVER_VERSION_STRING}"
PRODUCTNAME "OBS RTSP Server Plugin")
endif()

Expand Down

0 comments on commit 2a70ef1

Please sign in to comment.