Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
actor-incubator
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
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-incubator
Commits
11dd2cf0
Commit
11dd2cf0
authored
Jan 10, 2021
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build on Linux
parent
97cf0d51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
CMakeLists.txt
CMakeLists.txt
+6
-5
No files found.
CMakeLists.txt
View file @
11dd2cf0
...
...
@@ -101,6 +101,7 @@ if(CAF_INC_ENABLE_UTILITY_TARGETS)
add_executable
(
caf-generate-enum-strings
EXCLUDE_FROM_ALL
cmake/caf-generate-enum-strings.cpp
)
set_property
(
TARGET caf-generate-enum-strings PROPERTY CXX_STANDARD 17
)
add_custom_target
(
consistency-check
)
add_custom_target
(
update-enum-strings
)
# adds a consistency check that verifies that `cpp_file` is still valid by
...
...
@@ -145,11 +146,6 @@ function(caf_incubator_export_and_install_lib component)
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
>
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_BINARY_DIR
}
>
$<INSTALL_INTERFACE:include>
)
set_target_properties
(
libcaf_
${
component
}
PROPERTIES
EXPORT_NAME
${
component
}
SOVERSION
${
CAF_VERSION
}
VERSION
${
CAF_INC_LIB_VERSION
}
OUTPUT_NAME caf_
${
component
}
)
install
(
TARGETS libcaf_
${
component
}
EXPORT CAFIncubatorTargets
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
COMPONENT
${
component
}
...
...
@@ -161,6 +157,11 @@ function(caf_incubator_export_and_install_lib component)
FILES_MATCHING PATTERN
"*.hpp"
)
get_target_property
(
lib_type libcaf_
${
component
}
TYPE
)
if
(
NOT lib_type STREQUAL
"INTERFACE_LIBRARY"
)
set_target_properties
(
libcaf_
${
component
}
PROPERTIES
EXPORT_NAME
${
component
}
SOVERSION
${
CAF_VERSION
}
VERSION
${
CAF_INC_LIB_VERSION
}
OUTPUT_NAME caf_
${
component
}
)
string
(
TOUPPER
"CAF_
${
component
}
_EXPORT"
export_macro_name
)
generate_export_header
(
libcaf_
${
component
}
...
...
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