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
cf03f717
Commit
cf03f717
authored
Jan 27, 2015
by
Christian Beier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #60 from cinemast/master
fixing SOVERSION and .so VERSION
parents
7450e093
2daa0827
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 @
cf03f717
cmake_minimum_required
(
VERSION 2.6
)
cmake_minimum_required
(
VERSION 2.6
)
cmake_policy
(
SET CMP0037 NEW
)
project
(
LibVNCServer
)
project
(
LibVNCServer
)
include
(
CheckFunctionExists
)
include
(
CheckFunctionExists
)
...
@@ -11,10 +12,11 @@ include(CheckCSourceRuns)
...
@@ -11,10 +12,11 @@ include(CheckCSourceRuns)
set
(
PACKAGE_NAME
"LibVNCServer"
)
set
(
PACKAGE_NAME
"LibVNCServer"
)
set
(
FULL_PACKAGE_NAME
"LibVNCServer"
)
set
(
FULL_PACKAGE_NAME
"LibVNCServer"
)
set
(
PACKAGE_VERSION
"0.9.10"
)
set
(
VERSION_MAJOR
"0"
)
set
(
VERSION_MAJOR
"0"
)
set
(
VERSION_MINOR
"9"
)
set
(
VERSION_MINOR
"9"
)
set
(
VERSION_PATCHLEVEL
"10"
)
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
(
PROJECT_BUGREPORT_PATH
"http://sourceforge.net/projects/libvncserver"
)
set
(
CMAKE_C_FLAGS
"-O2 -W -Wall -g"
)
set
(
CMAKE_C_FLAGS
"-O2 -W -Wall -g"
)
set
(
LIBVNCSERVER_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/libvncserver
)
set
(
LIBVNCSERVER_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/libvncserver
)
...
@@ -291,7 +293,7 @@ target_link_libraries(vncserver
...
@@ -291,7 +293,7 @@ target_link_libraries(vncserver
)
)
SET_TARGET_PROPERTIES
(
vncclient vncserver
SET_TARGET_PROPERTIES
(
vncclient vncserver
PROPERTIES SOVERSION
"0.0.0
"
PROPERTIES SOVERSION
"
${
VERSION_SO
}
"
VERSION
"
${
PACKAGE_VERSION
}
"
)
)
# tests
# tests
...
@@ -356,14 +358,14 @@ endif(HAVE_FFMPEG)
...
@@ -356,14 +358,14 @@ endif(HAVE_FFMPEG)
file
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/examples
)
file
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/examples
)
foreach
(
test
${
LIBVNCSERVER_TESTS
}
)
foreach
(
test
${
LIBVNCSERVER_TESTS
}
)
add_executable
(
examples
/
${
test
}
${
LIBVNCSRVTEST_DIR
}
/
${
test
}
.c
)
add_executable
(
examples
_
${
test
}
${
LIBVNCSRVTEST_DIR
}
/
${
test
}
.c
)
target_link_libraries
(
examples
/
${
test
}
vncserver
${
CMAKE_THREAD_LIBS_INIT
}
)
target_link_libraries
(
examples
_
${
test
}
vncserver
${
CMAKE_THREAD_LIBS_INIT
}
)
endforeach
(
test
${
LIBVNCSERVER_TESTS
}
)
endforeach
(
test
${
LIBVNCSERVER_TESTS
}
)
file
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/client_examples
)
file
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/client_examples
)
foreach
(
test
${
LIBVNCCLIENT_TESTS
}
)
foreach
(
test
${
LIBVNCCLIENT_TESTS
}
)
add_executable
(
client_examples
/
${
test
}
${
LIBVNCCLITEST_DIR
}
/
${
test
}
.c
${
LIBVNCCLITEST_DIR
}
/
${${
test
}
_EXTRA_SOURCES
}
)
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
}
)
target_link_libraries
(
client_examples
_
${
test
}
vncclient
${
CMAKE_THREAD_LIBS_INIT
}
${
X11_LIBRARIES
}
${
SDL_LIBRARY
}
${
FFMPEG_LIBRARIES
}
)
endforeach
(
test
${
LIBVNCCLIENT_TESTS
}
)
endforeach
(
test
${
LIBVNCCLIENT_TESTS
}
)
install_targets
(
/lib vncserver
)
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