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
7842a573
Commit
7842a573
authored
Mar 10, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix linker flags to the I/O module
parent
ace6d101
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libcaf_io/CMakeLists.txt
libcaf_io/CMakeLists.txt
+2
-2
No files found.
libcaf_io/CMakeLists.txt
View file @
7842a573
...
@@ -42,7 +42,7 @@ add_custom_target(libcaf_io)
...
@@ -42,7 +42,7 @@ add_custom_target(libcaf_io)
# build shared library if not compiling static only
# build shared library if not compiling static only
if
(
NOT CAF_BUILD_STATIC_ONLY
)
if
(
NOT CAF_BUILD_STATIC_ONLY
)
add_library
(
libcaf_io_shared SHARED
${
LIBCAF_IO_SRCS
}
${
LIBCAF_IO_HDRS
}
)
add_library
(
libcaf_io_shared SHARED
${
LIBCAF_IO_SRCS
}
${
LIBCAF_IO_HDRS
}
)
target_link_libraries
(
libcaf_io_shared
${
LD
_
FLAGS
}
${
CAF_LIBRARY_CORE
}
)
target_link_libraries
(
libcaf_io_shared
${
LDFLAGS
}
${
CAF_LIBRARY_CORE
}
)
set_target_properties
(
libcaf_io_shared
set_target_properties
(
libcaf_io_shared
PROPERTIES
PROPERTIES
SOVERSION
${
CAF_VERSION
}
SOVERSION
${
CAF_VERSION
}
...
@@ -59,7 +59,7 @@ endif ()
...
@@ -59,7 +59,7 @@ endif ()
# build static library only if --build-static or --build-static-only was set
# build static library only if --build-static or --build-static-only was set
if
(
CAF_BUILD_STATIC_ONLY OR CAF_BUILD_STATIC
)
if
(
CAF_BUILD_STATIC_ONLY OR CAF_BUILD_STATIC
)
add_library
(
libcaf_io_static STATIC
${
LIBCAF_IO_HDRS
}
${
LIBCAF_IO_SRCS
}
)
add_library
(
libcaf_io_static STATIC
${
LIBCAF_IO_HDRS
}
${
LIBCAF_IO_SRCS
}
)
target_link_libraries
(
libcaf_io_static
${
LD
_
FLAGS
}
${
CAF_LIBRARY_CORE_STATIC
}
)
target_link_libraries
(
libcaf_io_static
${
LDFLAGS
}
${
CAF_LIBRARY_CORE_STATIC
}
)
set_target_properties
(
libcaf_io_static PROPERTIES OUTPUT_NAME caf_io_static
)
set_target_properties
(
libcaf_io_static PROPERTIES OUTPUT_NAME caf_io_static
)
install
(
TARGETS libcaf_io_static ARCHIVE DESTINATION lib
)
install
(
TARGETS libcaf_io_static ARCHIVE DESTINATION lib
)
add_dependencies
(
libcaf_io_static libcaf_io
)
add_dependencies
(
libcaf_io_static libcaf_io
)
...
...
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