Fix up Synergy version number
This commit is contained in:
parent
b52cadd1f7
commit
f9b3969f72
|
@ -15,10 +15,6 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# Version number for Synergy
|
# 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}")
|
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}")
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
|
|
@ -25,9 +25,11 @@ if (WIN32)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
qt5_use_modules (synergyx Core Widgets Network)
|
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)
|
if (WIN32)
|
||||||
set_target_properties (synergyx PROPERTIES
|
target_link_libraries (synergyx ${DNSSD_LIB})
|
||||||
LINK_FLAGS "/NODEFAULTLIB:LIBCMT")
|
set_target_properties (synergyx PROPERTIES LINK_FLAGS "/NODEFAULTLIB:LIBCMT")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue