Fix up Synergy version number

This commit is contained in:
Andrew Nelless 2017-02-07 22:52:38 +00:00
parent b52cadd1f7
commit f9b3969f72
2 changed files with 5 additions and 7 deletions

View File

@ -15,10 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Version number for Synergy
set(VERSION_MAJOR 1)
set(VERSION_MINOR 9)
set(VERSION_REV 0)
set(VERSION_STAGE beta)
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}")
cmake_minimum_required(VERSION 2.6)

View File

@ -25,9 +25,11 @@ if (WIN32)
endif()
qt5_use_modules (synergyx Core Widgets Network)
target_link_libraries (synergyx ${DNSSD_LIB} shared)
target_link_libraries (synergyx shared)
target_compile_definitions (synergyx PRIVATE -DVERSION_STAGE="${VERSION_STAGE}")
target_compile_definitions (synergyx PRIVATE -DVERSION_REVISION="")
if (WIN32)
set_target_properties (synergyx PROPERTIES
LINK_FLAGS "/NODEFAULTLIB:LIBCMT")
target_link_libraries (synergyx ${DNSSD_LIB})
set_target_properties (synergyx PROPERTIES LINK_FLAGS "/NODEFAULTLIB:LIBCMT")
endif()