From: mpv Date: Wed, 26 Nov 2014 08:39:24 +0000 (+0300) Subject: Fixed the linker problems X-Git-Tag: V_0.7.0_rc1~57^2~3^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0ec63b6d61a9d2ec91b6153851c0208ee276e71d;p=modules%2Fshaper.git Fixed the linker problems --- diff --git a/src/ModelAPI/CMakeLists.txt b/src/ModelAPI/CMakeLists.txt index 87a43a2b7..20d4ec107 100644 --- a/src/ModelAPI/CMakeLists.txt +++ b/src/ModelAPI/CMakeLists.txt @@ -48,7 +48,7 @@ SET(PROJECT_LIBRARIES Config ) SET(CMAKE_SWIG_FLAGS -threads -Wall) -ADD_DEFINITIONS(-DMODELAPI_EXPORT) +ADD_DEFINITIONS(-DMODELAPI_EXPORTS) ADD_LIBRARY(ModelAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS}) SET_TARGET_PROPERTIES(ModelAPI PROPERTIES LINKER_LANGUAGE CXX)