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
e106fe3a
Commit
e106fe3a
authored
Jan 12, 2021
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build with testing disabled
parent
a5efbcfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
CMakeLists.txt
CMakeLists.txt
+3
-2
libcaf_bb/CMakeLists.txt
libcaf_bb/CMakeLists.txt
+3
-1
No files found.
CMakeLists.txt
View file @
e106fe3a
...
...
@@ -251,7 +251,8 @@ function(caf_incubator_add_component name)
else
()
set
(
targets
${
pub_lib_target
}
)
add_library
(
${
pub_lib_target
}
${
CAF_INC_ADD_COMPONENT_HEADERS
}
)
${
CAF_INC_ADD_COMPONENT_HEADERS
}
${
CAF_INC_ADD_COMPONENT_SOURCES
}
)
set_property
(
TARGET
${
pub_lib_target
}
PROPERTY POSITION_INDEPENDENT_CODE ON
)
endif
()
target_link_libraries
(
${
pub_lib_target
}
${
CAF_INC_ADD_COMPONENT_DEPENDENCIES
}
)
...
...
@@ -303,7 +304,7 @@ if(CAF_INC_ENABLE_NET_MODULE)
add_subdirectory
(
libcaf_net
)
endif
()
if
(
CAF_INC_ENABLE_
NET
_MODULE
)
if
(
CAF_INC_ENABLE_
BB
_MODULE
)
add_subdirectory
(
libcaf_bb
)
endif
()
...
...
libcaf_bb/CMakeLists.txt
View file @
e106fe3a
...
...
@@ -19,4 +19,6 @@ caf_incubator_add_component(
tokenized_integer_reader
)
# CAF::bb is header-only, so it won't pull in the dependencies for the tests.
target_link_libraries
(
caf-bb-test PRIVATE CAF::core CAF::internal
)
if
(
TARGET caf-bb-test
)
target_link_libraries
(
caf-bb-test PRIVATE CAF::core CAF::internal
)
endif
()
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