diff --git a/src/xrCDB/CMakeLists.txt b/src/xrCDB/CMakeLists.txt index 128c40d9f28..c4f061d67cd 100644 --- a/src/xrCDB/CMakeLists.txt +++ b/src/xrCDB/CMakeLists.txt @@ -12,6 +12,7 @@ include_directories( ${SDL_INCLUDE_DIRS} ) +add_definitions(-DXRCDB_EXPORTS) add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES}) set_target_properties(${PROJECT_NAME} PROPERTIES COTIRE_CXX_PREFIX_HEADER_INIT "stdafx.h")