Revision b583731543e8ebe5290173f71ea708881365d200 authored by Lars Bilke on 08 February 2021, 19:35:20 UTC, committed by Lars Bilke on 15 February 2021, 14:12:59 UTC
Submodule commit b0bc24cfdda39b30145b1f6c2c84b801cd131fef was not available anymore in the master branch of ArashPartow/exprtk.
The branch was maybe rebased? Used commit c7c219480d9678eec7383a4a99030683c4a84d91 instead (same commit date).
1 parent bdb9fb6
Raw File
CMakeLists.txt
# Source files
get_source_files(SOURCES)

append_source_files(SOURCES IO)

append_source_files(SOURCES IO/XmlIO/Boost)

if(OGS_BUILD_GUI)
    append_source_files(SOURCES IO/XmlIO/Qt)
endif()

# Create the library
ogs_add_library(GeoLib ${SOURCES})

target_link_libraries(GeoLib
    PUBLIC
        BaseLib
        MathLib
        $<$<BOOL:${OGS_BUILD_GUI}>:Qt5::Xml>
        $<$<BOOL:${OGS_BUILD_GUI}>:Qt5::XmlPatterns>
    PRIVATE
        tet
        spdlog::spdlog
)

configure_file(IO/XmlIO/OpenGeoSysGLI.xsd
               ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/OpenGeoSysGLI.xsd COPYONLY)
configure_file(IO/XmlIO/OpenGeoSysSTN.xsd
               ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/OpenGeoSysSTN.xsd COPYONLY)
install(FILES IO/XmlIO/OpenGeoSysGLI.xsd IO/XmlIO/OpenGeoSysSTN.xsd
        DESTINATION bin
        COMPONENT ogs_cli)
back to top