Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
2daa0827
Commit
2daa0827
authored
Jan 27, 2015
by
Peter Spiess-Knafl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing SOVERSION and .so VERSION
parent
7450e093
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
CMakeLists.txt
CMakeLists.txt
+8
-6
No files found.
CMakeLists.txt
View file @
2daa0827
cmake_minimum_required
(
VERSION 2.6
)
cmake_policy
(
SET CMP0037 NEW
)
project
(
LibVNCServer
)
include
(
CheckFunctionExists
)
...
...
@@ -11,10 +12,11 @@ include(CheckCSourceRuns)
set
(
PACKAGE_NAME
"LibVNCServer"
)
set
(
FULL_PACKAGE_NAME
"LibVNCServer"
)
set
(
PACKAGE_VERSION
"0.9.10"
)
set
(
VERSION_MAJOR
"0"
)
set
(
VERSION_MINOR
"9"
)
set
(
VERSION_PATCHLEVEL
"10"
)
set
(
VERSION_SO
"0"
)
set
(
PACKAGE_VERSION
"
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
.
${
VERSION_PATCHLEVEL
}
"
)
set
(
PROJECT_BUGREPORT_PATH
"http://sourceforge.net/projects/libvncserver"
)
set
(
CMAKE_C_FLAGS
"-O2 -W -Wall -g"
)
set
(
LIBVNCSERVER_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/libvncserver
)
...
...
@@ -291,7 +293,7 @@ target_link_libraries(vncserver
)
SET_TARGET_PROPERTIES
(
vncclient vncserver
PROPERTIES SOVERSION
"0.0.0
"
PROPERTIES SOVERSION
"
${
VERSION_SO
}
"
VERSION
"
${
PACKAGE_VERSION
}
"
)
# tests
...
...
@@ -356,14 +358,14 @@ endif(HAVE_FFMPEG)
file
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/examples
)
foreach
(
test
${
LIBVNCSERVER_TESTS
}
)
add_executable
(
examples
/
${
test
}
${
LIBVNCSRVTEST_DIR
}
/
${
test
}
.c
)
target_link_libraries
(
examples
/
${
test
}
vncserver
${
CMAKE_THREAD_LIBS_INIT
}
)
add_executable
(
examples
_
${
test
}
${
LIBVNCSRVTEST_DIR
}
/
${
test
}
.c
)
target_link_libraries
(
examples
_
${
test
}
vncserver
${
CMAKE_THREAD_LIBS_INIT
}
)
endforeach
(
test
${
LIBVNCSERVER_TESTS
}
)
file
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/client_examples
)
foreach
(
test
${
LIBVNCCLIENT_TESTS
}
)
add_executable
(
client_examples
/
${
test
}
${
LIBVNCCLITEST_DIR
}
/
${
test
}
.c
${
LIBVNCCLITEST_DIR
}
/
${${
test
}
_EXTRA_SOURCES
}
)
target_link_libraries
(
client_examples
/
${
test
}
vncclient
${
CMAKE_THREAD_LIBS_INIT
}
${
X11_LIBRARIES
}
${
SDL_LIBRARY
}
${
FFMPEG_LIBRARIES
}
)
add_executable
(
client_examples
_
${
test
}
${
LIBVNCCLITEST_DIR
}
/
${
test
}
.c
${
LIBVNCCLITEST_DIR
}
/
${${
test
}
_EXTRA_SOURCES
}
)
target_link_libraries
(
client_examples
_
${
test
}
vncclient
${
CMAKE_THREAD_LIBS_INIT
}
${
X11_LIBRARIES
}
${
SDL_LIBRARY
}
${
FFMPEG_LIBRARIES
}
)
endforeach
(
test
${
LIBVNCCLIENT_TESTS
}
)
install_targets
(
/lib vncserver
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment