mirror of https://github.com/CGAL/cgal
Fix link error of demo/Polyhedron, in Debug and CGAL_HEADER_ONLY
This commit is contained in:
parent
0c4ee274e9
commit
8dfa4f4dc8
|
|
@ -47,7 +47,8 @@
|
|||
// If CGAL_EXPORTS is defined, one are building the CGAL library, and we do
|
||||
// not want artificial dll-imports of Core symbols (because of
|
||||
// auto-linking).
|
||||
#if ( ! defined(CGAL_EXPORTS) ) && defined(CGAL_BUILD_SHARED_LIBS)
|
||||
#if ( ! defined(CGAL_EXPORTS) ) && defined(CGAL_BUILD_SHARED_LIBS) \
|
||||
&& ( ! defined(CGAL_HEADER_ONLY) )
|
||||
|
||||
# if defined(CGAL_Core_EXPORTS) // defined by CMake or in cpp files of the dll
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#include <CGAL/config.h>
|
||||
#include <CGAL/export/helpers.h>
|
||||
|
||||
#if defined(CGAL_BUILD_SHARED_LIBS)
|
||||
#if defined(CGAL_BUILD_SHARED_LIBS) && ! defined(CGAL_HEADER_ONLY)
|
||||
|
||||
# if defined(CGAL_ImageIO_EXPORTS) // defined by CMake or in cpp files of the dll
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@
|
|||
#include <CGAL/config.h>
|
||||
#include <CGAL/export/helpers.h>
|
||||
|
||||
#if defined(CGAL_BUILD_SHARED_LIBS) || defined(CGAL_USE_Qt5_RESOURCES)
|
||||
#if ( defined(CGAL_BUILD_SHARED_LIBS) && ( ! defined(CGAL_HEADER_ONLY) ) ) \
|
||||
|| defined(CGAL_USE_Qt5_RESOURCES)
|
||||
|
||||
# if defined(CGAL_Qt5_EXPORTS) || defined(CGAL_USE_Qt5_RESOURCES)
|
||||
// defined by CMake or in cpp files of the dll
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#include <CGAL/config.h>
|
||||
#include <CGAL/export/helpers.h>
|
||||
|
||||
#if defined(CGAL_BUILD_SHARED_LIBS)
|
||||
#if defined(CGAL_BUILD_SHARED_LIBS) && ! defined(CGAL_HEADER_ONLY)
|
||||
|
||||
# if defined(CGAL_EXPORTS) // defined by CMake or in cpp files of the dll
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue