Debian Codegraph @

src/python/config/PyImathSetup.cmake

raw
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright Contributors to the OpenEXR Project.
3
4 include(GNUInstallDirs)
5
6 ########################
7 ## Target configuration
8
9 set(PYIMATH_OVERRIDE_PYTHON_INSTALL_DIR "" CACHE STRING "Override the install location for imath.so and imathnumpy.so modules")
10
11 ########################
12 ## Build related options
13
14 # Suffix to append to root name, this helps with version management
15 # but can be turned off if you don't care, or otherwise customized
16 #
17 set(PYIMATH_LIB_SUFFIX "-${IMATH_VERSION_API}" CACHE STRING "String added to the end of all the libraries")
18 # This provides a root for the unique name of the library based on
19 # the version of python being compiled for
20 set(PYIMATH_LIB_PYTHONVER_ROOT "_Python" CACHE STRING "String added as a root to the identifier of the python version in the libraries")