[Bf-blender-cvs] [d95d8b0] alembic_pointcache: Add WITH_ALEMBIC as a cmake option and set a WITH_ALEMBIC define to use in C code.
Lukas Tönne
noreply at git.blender.org
Thu Oct 16 16:52:25 CEST 2014
Commit: d95d8b0928b4f71b5b07a7737cf0169fe1ec3db2
Author: Lukas Tönne
Date: Wed Oct 2 10:00:15 2013 +0200
Branches: alembic_pointcache
https://developer.blender.org/rBd95d8b0928b4f71b5b07a7737cf0169fe1ec3db2
Add WITH_ALEMBIC as a cmake option and set a WITH_ALEMBIC define to use in C code.
===================================================================
M CMakeLists.txt
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 78b79fe..e588ba3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -202,6 +202,9 @@ option(WITH_MOD_REMESH "Enable Remesh Modifier" ON)
# mark_as_advanced(WITH_MOD_CLOTH_ELTOPO)
option(WITH_MOD_OCEANSIM "Enable Ocean Modifier" OFF)
+# Alembic
+option(WITH_ALEMBIC "Enable Alembic Support" OFF)
+
# Image format support
option(WITH_OPENIMAGEIO "Enable OpenImageIO Support (http://www.openimageio.org)" OFF)
option(WITH_IMAGE_OPENEXR "Enable OpenEXR Support (http://www.openexr.com)" ON)
@@ -884,6 +887,8 @@ if(UNIX AND NOT APPLE)
set(ALEMBIC_LIBRARIES ${ALEMBIC_LIBRARIES} ${BOOST_LIBRARIES})
set(ALEMBIC_DEFINITIONS "")
+
+ add_definitions(-DWITH_ALEMBIC)
endif()
# OpenSuse needs lutil, ArchLinux not, for now keep, can avoid by using --as-needed
More information about the Bf-blender-cvs
mailing list