mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-05 21:02:39 +08:00
Fix up Synergy version number
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user