mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
* Switched to CMake and a sane ebuild * Added abi3-compat USE Flag * Removed openvdb-compression as it's now hard enabled Signed-off by: Jonathan Scruggs (j.scruggs@gmail.com) Closes: https://github.com/gentoo/gentoo/pull/3473
17 lines
824 B
Diff
17 lines
824 B
Diff
diff -purN a/openvdb/CMakeLists.txt b/openvdb/CMakeLists.txt
|
|
--- a/openvdb/CMakeLists.txt 2016-11-16 20:24:17.000000000 +0000
|
|
+++ b/openvdb/CMakeLists.txt 2017-01-09 13:46:00.000000000 +0000
|
|
@@ -426,10 +426,11 @@ IF ( OPENVDB_BUILD_PYTHON_MODULE )
|
|
ADD_TEST ( pytest ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/python/test/TestOpenVDB.py )
|
|
SET_TESTS_PROPERTIES ( pytest PROPERTIES ENVIRONMENT "PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}")
|
|
|
|
+ SET ( PYOENVDB_INSTALL_DIRECTORY lib/python${OPENVDB_PYTHON_VERSION_MAJOR}.${OPENVDB_PYTHON_VERSION_MINOR} CACHE STRING "The directory to install the pyopenvdb.so module.")
|
|
INSTALL ( TARGETS
|
|
pyopenvdb
|
|
DESTINATION
|
|
- lib/python${OPENVDB_PYTHON_VERSION_MAJOR}.${OPENVDB_PYTHON_VERSION_MINOR}
|
|
+ ${PYOENVDB_INSTALL_DIRECTORY}
|
|
)
|
|
|
|
ENDIF ( OPENVDB_BUILD_PYTHON_MODULE )
|