Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-10-20 20:05:32 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-10-20 20:05:32 +0400
commit3c9d69744e0aca3ffe3ace103233679988769e91 (patch)
treec4d98c1ab2a9797c36698742310b37ab7c02b1cf /CMakeLists.txt
parent72e47de8b58c250598c384cc19419d190746b080 (diff)
Cycles: let cmake show error when not finding openimageio on linux.
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 6bada40cd03..c57f42f416c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -525,7 +525,7 @@ if(UNIX AND NOT APPLE)
endif()
set(OPENIMAGEIO_ROOT_DIR ${OPENIMAGEIO})
- find_package(OpenImageIO)
+ find_package(OpenImageIO REQUIRED)
set(OPENIMAGEIO_LIBRARIES ${OPENIMAGEIO_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${TIFF_LIBRARY} ${OPENEXR_LIBRARIES} ${ZLIB_LIBRARIES} ${BOOST_LIBRARIES})
set(OPENIMAGEIO_LIBPATH) # TODO, remove and reference the absolute path everywhere