[Bf-blender-cvs] [cd99396] cycles-ptex-49: Add missing OIIO include dirs for CMake in extern/ptex
Nicholas Bishop
noreply at git.blender.org
Sun Feb 8 16:15:53 CET 2015
Commit: cd99396f55b65daa1464754ce1ba410c22b577fa
Author: Nicholas Bishop
Date: Sun Feb 8 16:11:50 2015 +0100
Branches: cycles-ptex-49
https://developer.blender.org/rBcd99396f55b65daa1464754ce1ba410c22b577fa
Add missing OIIO include dirs for CMake in extern/ptex
===================================================================
M extern/ptex/CMakeLists.txt
===================================================================
diff --git a/extern/ptex/CMakeLists.txt b/extern/ptex/CMakeLists.txt
index 8e53f43..e6d8acd 100644
--- a/extern/ptex/CMakeLists.txt
+++ b/extern/ptex/CMakeLists.txt
@@ -37,4 +37,11 @@ set(SRC
bpx_c_api.cpp
)
+if(WITH_OPENIMAGEIO)
+ list(APPEND INC_SYS
+ ${OPENIMAGEIO_INCLUDE_DIRS}
+ )
+ add_definitions(-DWITH_OPENIMAGEIO)
+endif()
+
blender_add_lib(extern_ptex "${SRC}" "${INC}" "${INC_SYS}")
More information about the Bf-blender-cvs
mailing list