[CMake] put python header in include
Otherwise, this header is installed if BUILD_PYTHON_INTERFACE, and not if INSTALL_PYTHON_INTERFACE_ONLY. But if we want to be able to have binary packages for: - the main curve package - its bindings for python 2 - its bindings for python 3 this header will be installed in the 2 last cases, which will conflict. In short: if we set INSTALL_PYTHON_INTERFACE_ONLY, there should be only stuff installed in PYTHON_SITELIB.
Showing
- include/curves/CMakeLists.txt 1 addition, 0 deletionsinclude/curves/CMakeLists.txt
- include/curves/python/CMakeLists.txt 8 additions, 0 deletionsinclude/curves/python/CMakeLists.txt
- include/curves/python/python_definitions.h 0 additions, 0 deletionsinclude/curves/python/python_definitions.h
- python/curves/CMakeLists.txt 0 additions, 9 deletionspython/curves/CMakeLists.txt
- python/curves/python_variables.cpp 1 addition, 1 deletionpython/curves/python_variables.cpp
- python/curves/python_variables.h 1 addition, 1 deletionpython/curves/python_variables.h
include/curves/python/CMakeLists.txt
0 → 100644
Please register or sign in to comment