https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: ca65401fdfd8ac2b077ac184104f2c7a332902d4 authored by Lars Bilke on 14 March 2019, 15:00:58 UTC
[Jenkins] Fixed release build.
Tip revision: ca65401
CMakeLists.txt
# Source files
get_source_files(SOURCES)

add_library(ParameterLib ${SOURCES})
if(BUILD_SHARED_LIBS)
    install(TARGETS ParameterLib LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()

include(GenerateExportHeader)
generate_export_header(ParameterLib)
target_include_directories(ParameterLib
    PUBLIC ${CMAKE_CURRENT_BINARY_DIR}
)

target_link_libraries(ParameterLib PRIVATE BaseLib MeshLib)

if(OGS_USE_PCH)
    cotire(ParameterLib)
endif()
back to top