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

Fix buil-in JSON dependency.

parent 95439089
No related branches found
No related tags found
No related merge requests found
Pipeline #1705784 passed with warnings
......@@ -27,11 +27,6 @@ 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 GXClashPointSystems/*.h )
......@@ -50,8 +45,14 @@ include_directories ("${PROJECT_SOURCE_DIR}")
include_directories ("${PROJECT_SOURCE_DIR}/src")
include_directories ("${PROJECT_SOURCE_DIR}/../VP1HEPVis")
include_directories ("${PROJECT_SOURCE_DIR}/../VP1Base")
add_library ( GXClashPointSystems SHARED ${SOURCES} ${HEADERS} ${UI_HDRS} )
# If we use standalone-build of nlohmann_json parser, add explicit dependency
if( GEOMODEL_USE_BUILTIN_JSON )
add_dependencies( GXClashPointSystems JSON )
endif()
# External dependencies:
include_directories(${Qt5Core_INCLUDE_DIRS} )
include_directories(${Qt5Gui_INCLUDE_DIRS} )
......
......@@ -28,10 +28,6 @@ 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 )
......@@ -53,8 +49,14 @@ include_directories ("${PROJECT_SOURCE_DIR}")
include_directories ("${PROJECT_SOURCE_DIR}/src")
include_directories ("${PROJECT_SOURCE_DIR}/../VP1HEPVis")
include_directories ("${PROJECT_SOURCE_DIR}/../VP1Base")
add_library ( GXGeometrySystems SHARED ${SOURCES} ${HEADERS} ${UI_HDRS} )
# If we use standalone-build of nlohmann_json parser, add explicit dependency
if( GEOMODEL_USE_BUILTIN_JSON )
add_dependencies( GXGeometrySystems JSON )
endif()
# External dependencies:
include_directories(${Qt5Core_INCLUDE_DIRS} )
include_directories(${Qt5Gui_INCLUDE_DIRS} )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment