diff options
Diffstat (limited to 'intern/locale/CMakeLists.txt')
-rw-r--r-- | intern/locale/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/intern/locale/CMakeLists.txt b/intern/locale/CMakeLists.txt index 8e3620d7db3..bdad0a0af79 100644 --- a/intern/locale/CMakeLists.txt +++ b/intern/locale/CMakeLists.txt @@ -17,6 +17,14 @@ set(SRC set(LIB ) +if(WIN32) + # This is set in platform_win32.cmake, will exist for 3.4+ library + # folders which are dynamic, but not for 3.3 which will be static. + if (EXISTS ${BOOST_34_TRIGGER_FILE}) + add_definitions (-DBOOST_ALL_DYN_LINK=1) + endif() +endif() + if(APPLE) # Cocoa code to read the locale on OSX list(APPEND SRC |