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
94c5ef19
Commit
94c5ef19
authored
Jan 19, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix --build-static-only
parent
3289e5b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
CMakeLists.txt
CMakeLists.txt
+15
-3
No files found.
CMakeLists.txt
View file @
94c5ef19
...
@@ -269,17 +269,29 @@ include_directories("${LIBCAF_INCLUDE_DIRS}")
...
@@ -269,17 +269,29 @@ include_directories("${LIBCAF_INCLUDE_DIRS}")
message
(
STATUS
"Enter subdirectory libcaf_core"
)
message
(
STATUS
"Enter subdirectory libcaf_core"
)
add_subdirectory
(
libcaf_core
)
add_subdirectory
(
libcaf_core
)
# set core lib for sub directories
# set core lib for sub directories
set
(
LIBCAF_CORE_LIBRARY libcaf_core
)
if
(
NOT CAF_BUILD_STATIC_ONLY
)
set
(
LIBCAF_CORE_LIBRARY libcaf_core
)
else
()
set
(
LIBCAF_CORE_LIBRARY libcaf_coreStatic
)
endif
()
message
(
STATUS
"Enter subdirectory libcaf_io"
)
message
(
STATUS
"Enter subdirectory libcaf_io"
)
add_subdirectory
(
libcaf_io
)
add_subdirectory
(
libcaf_io
)
# set io lib for sub directories
# set io lib for sub directories
set
(
LIBCAF_IO_LIBRARY libcaf_io
)
if
(
NOT CAF_BUILD_STATIC_ONLY
)
set
(
LIBCAF_IO_LIBRARY libcaf_io
)
else
()
set
(
LIBCAF_IO_LIBRARY libcaf_ioStatic
)
endif
()
# set opencl lib for sub directories if not told otherwise
# set opencl lib for sub directories if not told otherwise
if
(
NOT CAF_NO_OPENCL AND EXISTS
"
${
CMAKE_SOURCE_DIR
}
/libcaf_opencl/CMakeLists.txt"
)
if
(
NOT CAF_NO_OPENCL AND EXISTS
"
${
CMAKE_SOURCE_DIR
}
/libcaf_opencl/CMakeLists.txt"
)
message
(
STATUS
"Enter subdirectory libcaf_opencl"
)
message
(
STATUS
"Enter subdirectory libcaf_opencl"
)
find_package
(
OPENCL REQUIRED
)
find_package
(
OPENCL REQUIRED
)
add_subdirectory
(
libcaf_opencl
)
add_subdirectory
(
libcaf_opencl
)
set
(
LIBCAF_OPENCL_LIBRARY libcaf_opencl
)
if
(
NOT CAF_BUILD_STATIC_ONLY
)
set
(
LIBCAF_OPENCL_LIBRARY libcaf_opencl
)
else
()
set
(
LIBCAF_OPENCL_LIBRARY libcaf_openclStatic
)
endif
()
endif
()
endif
()
# tell CMake caf_io depends on caf_core
# tell CMake caf_io depends on caf_core
if
(
CAF_BUILD_STATIC_ONLY OR CAF_BUILD_STATIC
)
if
(
CAF_BUILD_STATIC_ONLY OR CAF_BUILD_STATIC
)
...
...
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