Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
9ee12b2e
Commit
9ee12b2e
authored
Nov 10, 2019
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix library versioning on OpenBSD
parent
4d1412f0
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
5 deletions
+10
-5
CMakeLists.txt
CMakeLists.txt
+6
-1
libcaf_core/CMakeLists.txt
libcaf_core/CMakeLists.txt
+1
-1
libcaf_io/CMakeLists.txt
libcaf_io/CMakeLists.txt
+1
-1
libcaf_opencl/CMakeLists.txt
libcaf_opencl/CMakeLists.txt
+1
-1
libcaf_openssl/CMakeLists.txt
libcaf_openssl/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
9ee12b2e
...
...
@@ -144,7 +144,12 @@ math(EXPR CAF_VERSION_PATCH "${VERSION_INT} % 100")
# create full version string
set
(
CAF_VERSION
"
${
CAF_VERSION_MAJOR
}
.
${
CAF_VERSION_MINOR
}
.
${
CAF_VERSION_PATCH
}
"
)
# set the library version for our shared library targets
if
(
CMAKE_HOST_SYSTEM_NAME MATCHES
"OpenBSD"
)
set
(
CAF_LIB_VERSION
"
${
CAF_VERSION_MAJOR
}
.
${
CAF_VERSION_MINOR
}
"
)
else
()
set
(
CAF_LIB_VERSION
"
${
CAF_VERSION
}
"
)
endif
()
################################################################################
# set output paths for binaries and libraries if not provided by the user #
...
...
libcaf_core/CMakeLists.txt
View file @
9ee12b2e
...
...
@@ -154,7 +154,7 @@ if (NOT CAF_BUILD_STATIC_ONLY)
set_target_properties
(
libcaf_core_shared
PROPERTIES
SOVERSION
${
CAF_VERSION
}
VERSION
${
CAF_VERSION
}
VERSION
${
CAF_
LIB_
VERSION
}
OUTPUT_NAME caf_core
)
install
(
TARGETS libcaf_core_shared
...
...
libcaf_io/CMakeLists.txt
View file @
9ee12b2e
...
...
@@ -62,7 +62,7 @@ if (NOT CAF_BUILD_STATIC_ONLY)
set_target_properties
(
libcaf_io_shared
PROPERTIES
SOVERSION
${
CAF_VERSION
}
VERSION
${
CAF_VERSION
}
VERSION
${
CAF_
LIB_
VERSION
}
OUTPUT_NAME caf_io
)
install
(
TARGETS libcaf_io_shared
RUNTIME DESTINATION bin
...
...
libcaf_opencl/CMakeLists.txt
View file @
9ee12b2e
...
...
@@ -29,7 +29,7 @@ if(NOT CAF_BUILD_STATIC_ONLY)
set_target_properties
(
libcaf_opencl_shared
PROPERTIES
SOVERSION
"
${
CAF_VERSION
}
"
VERSION
"
${
CAF_VERSION
}
"
VERSION
"
${
CAF_
LIB_
VERSION
}
"
OUTPUT_NAME caf_opencl
)
install
(
TARGETS libcaf_opencl_shared LIBRARY DESTINATION lib
)
endif
()
...
...
libcaf_openssl/CMakeLists.txt
View file @
9ee12b2e
...
...
@@ -33,7 +33,7 @@ if (NOT CAF_BUILD_STATIC_ONLY)
set_target_properties
(
libcaf_openssl_shared
PROPERTIES
SOVERSION
${
CAF_VERSION
}
VERSION
${
CAF_VERSION
}
VERSION
${
CAF_
LIB_
VERSION
}
OUTPUT_NAME caf_openssl
)
if
(
CYGWIN
)
install
(
TARGETS libcaf_openssl_shared RUNTIME DESTINATION bin
)
...
...
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