Skip to content
Snippets Groups Projects
Commit df71c7bc authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

Set explicit dependency on the built-in nlohmann_json to fix parallel build

parent 011cac1b
Branches
No related tags found
No related merge requests found
......@@ -27,6 +27,10 @@ if( APPLE )
find_package(OpenGL REQUIRED)
endif()
# If we use standalone-build of nlohmann_json parser
if( GEOMODEL_USE_BUILTIN_JSON )
add_dependencies( GeoModelJSONParser JSON )
endif()
# Find the header and source files.
file( GLOB SOURCES src/*.cxx )
......
......
......@@ -28,6 +28,11 @@ if( APPLE )
find_package(OpenGL REQUIRED)
endif()
# If we use standalone-build of nlohmann_json parser
if( GEOMODEL_USE_BUILTIN_JSON )
add_dependencies( GeoModelJSONParser JSON )
endif()
# Find the header and source files.
file( GLOB SOURCES src/*.cxx )
file( GLOB HEADERS VP1GeometrySystems/*.h )
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment