Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
ffe0e3d7
Unverified
Commit
ffe0e3d7
authored
Jul 17, 2019
by
Niels Lohmann
Committed by
GitHub
Jul 17, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1673 from remyabel/gnuinstalldirs
Use GNUInstallDirs instead of hard-coded path.
parents
cf8251eb
3184e9bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
CMakeLists.txt
CMakeLists.txt
+4
-2
No files found.
CMakeLists.txt
View file @
ffe0e3d7
...
@@ -22,9 +22,11 @@ option(JSON_MultipleHeaders "Use non-amalgamated version of the library." OFF)
...
@@ -22,9 +22,11 @@ option(JSON_MultipleHeaders "Use non-amalgamated version of the library." OFF)
##
##
## CONFIGURATION
## CONFIGURATION
##
##
include
(
GNUInstallDirs
)
set
(
NLOHMANN_JSON_TARGET_NAME
${
PROJECT_NAME
}
)
set
(
NLOHMANN_JSON_TARGET_NAME
${
PROJECT_NAME
}
)
set
(
NLOHMANN_JSON_CONFIG_INSTALL_DIR
"
lib
/cmake/
${
PROJECT_NAME
}
"
CACHE INTERNAL
""
)
set
(
NLOHMANN_JSON_CONFIG_INSTALL_DIR
"
${
CMAKE_INSTALL_LIBDIR
}
/cmake/
${
PROJECT_NAME
}
"
CACHE INTERNAL
""
)
set
(
NLOHMANN_JSON_INCLUDE_INSTALL_DIR
"
include
"
)
set
(
NLOHMANN_JSON_INCLUDE_INSTALL_DIR
"
${
CMAKE_INSTALL_INCLUDEDIR
}
"
)
set
(
NLOHMANN_JSON_TARGETS_EXPORT_NAME
"
${
PROJECT_NAME
}
Targets"
)
set
(
NLOHMANN_JSON_TARGETS_EXPORT_NAME
"
${
PROJECT_NAME
}
Targets"
)
set
(
NLOHMANN_JSON_CMAKE_CONFIG_TEMPLATE
"cmake/config.cmake.in"
)
set
(
NLOHMANN_JSON_CMAKE_CONFIG_TEMPLATE
"cmake/config.cmake.in"
)
set
(
NLOHMANN_JSON_CMAKE_CONFIG_DIR
"
${
CMAKE_CURRENT_BINARY_DIR
}
"
)
set
(
NLOHMANN_JSON_CMAKE_CONFIG_DIR
"
${
CMAKE_CURRENT_BINARY_DIR
}
"
)
...
...
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