From 5eb2070fc7920706ffc9b06220f5d698fc91f015 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Sun, 13 Jan 2013 12:32:37 +0000 Subject: Add wave to boost libraries for MinGW if OSL is turned on (still not supported but making sure it works correctly when it is) --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeLists.txt') 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() -- cgit v1.2.3