Revision d3c04892313cc64973ea95dc3db8d3a06e05ea11 authored by Lars Bilke on 15 September 2021, 13:02:03 UTC, committed by Lars Bilke on 15 September 2021, 13:02:03 UTC
[cmake] RPATH fixes

Closes #3189

See merge request ogs/ogs!3782
2 parent s 7f0c288 + e09b480
Raw File
ExportSymbol.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#ifndef OGS_EXPORT_SYMBOL
#if defined(WIN32) || defined(_WIN32)
#define OGS_EXPORT_SYMBOL __declspec(dllexport)
#else
#define OGS_EXPORT_SYMBOL __attribute__((visibility("default")))
#endif
#endif  // defined(OGS_EXPORT_SYMBOL)
back to top