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

Merge branch 'fix-json-builtin' into 'master'

Fix builtin JSON

See merge request !25
parents bd9ffe01 3f0949b4
Branches
Tags
1 merge request!25Fix builtin JSON
...@@ -19,8 +19,12 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR) ...@@ -19,8 +19,12 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
"Framework finding behaviour on macOS" ) "Framework finding behaviour on macOS" )
# Set up how the project handle some of its dependenices. Either by picking them # Set up how the project handle some of its dependenices. Either by picking them
# up from the environment, or building them itself. # up from the environment, or building them itself.
include( SetupJSON ) if( NOT TARGET JSONExt )
include( SetupXercesC ) include( SetupJSON )
endif()
if( NOT TARGET XercesCBuiltIn )
include( SetupXercesC )
endif()
# Find the base GeoModel packages, which must be installed on the target system already # Find the base GeoModel packages, which must be installed on the target system already
find_package( GeoModelCore REQUIRED 4.0.0 ) #TODO: the version should be se in the root folder find_package( GeoModelCore REQUIRED 4.0.0 ) #TODO: the version should be se in the root folder
find_package( GeoModelIO REQUIRED 4.0.0 ) #TODO: the version should be se in the root folder find_package( GeoModelIO REQUIRED 4.0.0 ) #TODO: the version should be se in the root folder
......
...@@ -19,9 +19,11 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR) ...@@ -19,9 +19,11 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
include( configure_cpp_options ) include( configure_cpp_options )
set( CMAKE_FIND_FRAMEWORK "LAST" CACHE STRING set( CMAKE_FIND_FRAMEWORK "LAST" CACHE STRING
"Framework finding behaviour on macOS" ) "Framework finding behaviour on macOS" )
# Set up how the project handle some of its dependenices. Either by picking them if( NOT TARGET JSONExt )
# up from the environment, or building them itself. # Set up how the project handle some of its dependenices. Either by picking them
include( SetupJSON ) # up from the environment, or building them itself.
include( SetupJSON )
endif()
# Find the base GeoModel packages, which must be installed on the target system already # Find the base GeoModel packages, which must be installed on the target system already
find_package( GeoModelCore REQUIRED 4.0.0 ) #TODO: the version should be se in the root folder find_package( GeoModelCore REQUIRED 4.0.0 ) #TODO: the version should be se in the root folder
find_package( GeoModelIO REQUIRED 4.0.0 ) #TODO: the version should be se in the root folder find_package( GeoModelIO REQUIRED 4.0.0 ) #TODO: the version should be se in the root folder
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment