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

Fix GeoModelXML installation

parent 208b8005
No related branches found
No related tags found
1 merge request!67Bringing GeoModelXML into GeoModel
......@@ -48,6 +48,7 @@ endif()
include( GNUInstallDirs )
# Set up the build of the libraries of the project.
add_subdirectory( GeoModelXML )
add_subdirectory( GeoModelXMLParser )
add_subdirectory( GeoModelJSONParser )
add_subdirectory( ExpressionEvaluator )
......
......@@ -4,10 +4,8 @@
file( GLOB SOURCES src/*.cxx )
# External dependencies
find_package( GeoModelCore REQUIRED )
find_package( GeoModelTools REQUIRED )
find_package( XercesC REQUIRED )
find_package( ZLIB REQUIRED )
#find_package( XercesC REQUIRED )
#find_package( ZLIB REQUIRED )
# Create the library.
......@@ -24,7 +22,7 @@ set_target_properties( GMXPlugin PROPERTIES
# Set up an alias with the same name that you would get by "finding" a pre-built
# version of the library.
add_library( GeoModelXML::GMXPlugin ALIAS GMXPlugin )
add_library( GeoModelTools::GMXPlugin ALIAS GMXPlugin )
# Install the library.
install(TARGETS GMXPlugin
......
......@@ -6,10 +6,7 @@ file( GLOB HEADERS GeoModelXml/*.h )
file( GLOB SHAPEHEADERS GeoModelXml/shape/*.h )
# External dependencies
find_package( GeoModelCore REQUIRED )
find_package( Eigen3 REQUIRED )
find_package( GeoModelTools REQUIRED )
find_package( XercesC REQUIRED )
#find_package( Eigen3 REQUIRED )
find_package( ZLIB REQUIRED )
......@@ -28,7 +25,7 @@ set_target_properties( GeoModelXml PROPERTIES
# Set up an alias with the same name that you would get by "finding" a pre-built
# version of the library.
add_library( GeoModelXML::GeoModelXml ALIAS GeoModelXml )
add_library( GeoModelTools::GeoModelXml ALIAS GeoModelXml )
# Install the library.
install(TARGETS GeoModelXml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment