summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6358d34..f3a7e94 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -102,6 +102,6 @@ if(BUILD_DOCUMENTATION)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/doc/html/ TYPE DOC)
endif()
-if(MSVC AND BUILD_SHARED_LIBS)
+if(BUILD_SHARED_LIBS)
add_definitions(-DTGBOT_DLL)
endif() \ No newline at end of file