diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-01-13 16:32:37 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-01-13 16:32:37 +0400 |
commit | 5eb2070fc7920706ffc9b06220f5d698fc91f015 (patch) | |
tree | 13b109a502c315e5bc242994933a72798b0fd497 /CMakeLists.txt | |
parent | ef5a41a89d121ae4048cc4010487e77b969f66b1 (diff) |
Add wave to boost libraries for MinGW if OSL is turned on (still not supported but making sure it works correctly when it is)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ecc3f3ea708..96f2df316cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1327,6 +1327,11 @@ elseif(WIN32) optimized boost_locale-${BOOST_POSTFIX} debug boost_locale-${BOOST_DEBUG_POSTFIX}) endif() + if(WITH_CYCLES_OSL) + set(BOOST_LIBRARIES ${BOOST_LIBRARIES} + optimized boost_wave-${BOOST_POSTFIX} + debug boost_wave-${BOOST_DEBUG_POSTFIX}) + endif() set(BOOST_LIBPATH ${BOOST}/lib) set(BOOST_DEFINITIONS "-DBOOST_ALL_NO_LIB -DBOOST_THREAD_USE_LIB ") endif() |