1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0029377: Configuration, CMake - linkage errors while using static OCCT libraries on Windows platform

HAVE_NO_DLL is now defined when building Static libraries.
This commit is contained in:
kgv
2017-12-08 15:13:14 +03:00
committed by bugmaster
parent 683d15cbd4
commit 77cd443b99
3 changed files with 7 additions and 1 deletions

View File

@@ -11,6 +11,9 @@ set (PRECOMPILED_DEFS)
if (NOT BUILD_SHARED_LIBS)
list (APPEND PRECOMPILED_DEFS "-DOCCT_NO_PLUGINS")
if (WIN32)
list (APPEND PRECOMPILED_DEFS "-DHAVE_NO_DLL")
endif()
endif()
# Get all used packages from toolkit