diff options
author | Thomas Dinges <blender@dingto.org> | 2013-08-31 06:25:43 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-08-31 06:25:43 +0400 |
commit | 615894323a58306afab1a70d4704611e96144499 (patch) | |
tree | e6ead950593956dbb40537149acbe16c0061ab08 /intern | |
parent | 8e46cf637c86a257310e9df4fcf5912dd9fbbf57 (diff) |
Cycles / Standalone:
* Fix some link errors on Windows, still missing png, zlib, jpeg and tiff.
I couldn't yet figure out the correct flags to pass on here, and the 2300 lines huge main CMakeLists file doesn't help with it...
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/app/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt index d5446ed1d48..2028622377f 100644 --- a/intern/cycles/app/CMakeLists.txt +++ b/intern/cycles/app/CMakeLists.txt @@ -20,11 +20,16 @@ set(LIBRARIES cycles_subd cycles_util ${BOOST_LIBRARIES} + ${OPENEXR_LIBRARIES} ${OPENGL_LIBRARIES} ${CYCLES_GLEW_LIBRARY} ${OPENIMAGEIO_LIBRARIES} ) +if(WIN32) + list(APPEND LIBRARIES ${PTHREADS_LIBRARIES}) +endif() + link_directories(${OPENIMAGEIO_LIBPATH} ${BOOST_LIBPATH}) if(WITH_CYCLES_STANDALONE AND WITH_CYCLES_STANDALONE_GUI) |