From 0ec63b6d61a9d2ec91b6153851c0208ee276e71d Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 26 Nov 2014 11:39:24 +0300 Subject: [PATCH] Fixed the linker problems --- src/ModelAPI/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2