Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
920dd078
Commit
920dd078
authored
Sep 23, 2019
by
orbea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Only install fmt headers when SPDLOG_FMT_EXTERNAL is not defined.
parent
e42867f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
CMakeLists.txt
CMakeLists.txt
+6
-1
No files found.
CMakeLists.txt
View file @
920dd078
...
...
@@ -184,9 +184,14 @@ if (SPDLOG_INSTALL)
#---------------------------------------------------------------------------------------
# Include files
#---------------------------------------------------------------------------------------
install
(
DIRECTORY include/ DESTINATION
"
${
CMAKE_INSTALL_INCLUDEDIR
}
"
)
install
(
DIRECTORY include/ DESTINATION
"
${
CMAKE_INSTALL_INCLUDEDIR
}
"
PATTERN
"fmt/bundled"
EXCLUDE
)
install
(
TARGETS spdlog spdlog_header_only EXPORT spdlog DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
/spdlog"
)
if
(
NOT SPDLOG_FMT_EXTERNAL
)
install
(
DIRECTORY include/
${
PROJECT_NAME
}
/fmt/bundled/
DESTINATION
"
${
CMAKE_INSTALL_INCLUDEDIR
}
/
${
PROJECT_NAME
}
/fmt/bundled/"
)
endif
()
#---------------------------------------------------------------------------------------
# Package and version files
#---------------------------------------------------------------------------------------
...
...
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