Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
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
Libraries
json
Commits
6d7959e0
Unverified
Commit
6d7959e0
authored
May 12, 2021
by
Jason Dsouza
Committed by
GitHub
May 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep consistent formatting
parent
7cafc5c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
CMakeLists.txt
+5
-5
No files found.
CMakeLists.txt
View file @
6d7959e0
...
@@ -12,7 +12,7 @@ project(nlohmann_json VERSION 3.9.1 LANGUAGES CXX)
...
@@ -12,7 +12,7 @@ project(nlohmann_json VERSION 3.9.1 LANGUAGES CXX)
##
##
set
(
MAIN_PROJECT OFF
)
set
(
MAIN_PROJECT OFF
)
if
(
CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR
)
if
(
CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR
)
set
(
MAIN_PROJECT ON
)
set
(
MAIN_PROJECT ON
)
endif
()
endif
()
##
##
...
@@ -113,8 +113,8 @@ endif()
...
@@ -113,8 +113,8 @@ endif()
# Install a pkg-config file, so other tools can find this.
# Install a pkg-config file, so other tools can find this.
CONFIGURE_FILE
(
CONFIGURE_FILE
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/pkg-config.pc.in"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/pkg-config.pc.in"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
PROJECT_NAME
}
.pc"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
PROJECT_NAME
}
.pc"
)
)
##
##
...
@@ -160,7 +160,7 @@ if(JSON_Install)
...
@@ -160,7 +160,7 @@ if(JSON_Install)
FILES
${
NLOHMANN_NATVIS_FILE
}
FILES
${
NLOHMANN_NATVIS_FILE
}
DESTINATION .
DESTINATION .
)
)
endif
()
endif
()
# NLOHMANN_ADD_NATVIS
export
(
export
(
TARGETS
${
NLOHMANN_JSON_TARGET_NAME
}
TARGETS
${
NLOHMANN_JSON_TARGET_NAME
}
NAMESPACE
${
PROJECT_NAME
}
::
NAMESPACE
${
PROJECT_NAME
}
::
...
@@ -180,4 +180,4 @@ endif()
...
@@ -180,4 +180,4 @@ endif()
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
PROJECT_NAME
}
.pc"
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
PROJECT_NAME
}
.pc"
DESTINATION
${
NLOHMANN_JSON_PKGCONFIG_INSTALL_DIR
}
DESTINATION
${
NLOHMANN_JSON_PKGCONFIG_INSTALL_DIR
}
)
)
endif
()
endif
()
# JSON_Install
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