-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[morphologica] add fix_nlohmann_include.patch
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/morph/CMakeLists.txt b/morph/CMakeLists.txt | ||
index 78b3d43..a86b184 100644 | ||
--- a/morph/CMakeLists.txt | ||
+++ b/morph/CMakeLists.txt | ||
@@ -15,7 +15,7 @@ add_subdirectory(linuxos) # One Linux-specific file | ||
add_subdirectory(healpix) # Public, but slightly modified HEALPix headers | ||
|
||
# And the nlohmann/json.hpp header | ||
-add_subdirectory(nlohmann) | ||
+find_package(nlohmann_json REQUIRED) | ||
|
||
# Graphics headers | ||
install( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
"glfw3", | ||
"hdf5", | ||
"opengl", | ||
"nlohmann-json", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
|