File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ MESSAGE(STATUS "LIBDIR: ${LIBDIR}")
6363set (IFCOPENSHELL_LIBARY_DIR "" ) # for *nix rpaths
6464
6565if (BUILD_SHARED_LIBS )
66- add_definitions (-DBUILD_SHARED_LIBS )
66+ add_definitions (-DIFC_SHARED_BUILD )
6767 if (MSVC )
6868 message (WARNING "Building DLLs against the static VC run-time. This is not recommended if the DLLs are to be redistributed." )
6969 # C4521: 'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2'
Original file line number Diff line number Diff line change 2020#ifndef IFC_GEOM_API_H
2121#define IFC_GEOM_API_H
2222
23- #ifdef BUILD_SHARED_LIBS
23+ #ifdef IFC_SHARED_BUILD
2424 #ifdef _WIN32
2525 #ifdef IFC_GEOM_EXPORTS
2626 #define IFC_GEOM_API __declspec(dllexport)
Original file line number Diff line number Diff line change 2020#ifndef IFC_PARSE_API_H
2121#define IFC_PARSE_API_H
2222
23- #ifdef BUILD_SHARED_LIBS
23+ #ifdef IFC_SHARED_BUILD
2424 #ifdef _WIN32
2525 #ifdef IFC_PARSE_EXPORTS
2626 #define IFC_PARSE_API __declspec(dllexport)
You can’t perform that action at this time.
0 commit comments