-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information
Showing
6 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SET(${PROJECT_NAME}_PYTHON_HEADERS | ||
python_definitions.h | ||
) | ||
|
||
INSTALL(FILES | ||
${${PROJECT_NAME}_PYTHON_HEADERS} | ||
DESTINATION include/${PROJECT_NAME}/python | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters