-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from jcarpent/devel
Fix packaging of the project
- Loading branch information
Showing
6 changed files
with
63 additions
and
37 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
Submodule cmake
updated
9 files
+6 −0 | .docs/pages/base.rst | |
+5 −1 | Config.cmake.in | |
+3 −1 | cython/cython.cmake | |
+2 −1 | cython/setup.in.py | |
+8 −8 | package-config.cmake | |
+7 −3 | pkg-config.cmake | |
+1 −1 | python.cmake | |
+4 −4 | test.cmake | |
+141 −103 | version.cmake |
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,25 @@ | ||
# | ||
# Copyright 2020 CNRS INRIA | ||
# | ||
# Author: Guilhem Saurel | ||
# | ||
|
||
# Try to find assimp in standard prefixes and in ${assimp_PREFIX} | ||
# Once done this will define | ||
# assimp_FOUND - System has assimp | ||
# assimp_INCLUDE_DIR - The assimp include directories | ||
# assimp_LIBRARY - The libraries needed to use assimp | ||
|
||
FIND_PATH(assimp_INCLUDE_DIR | ||
NAMES assimp/defs.h | ||
PATHS ${assimp_PREFIX} ${assimp_PREFIX}/include | ||
) | ||
|
||
FIND_LIBRARY(assimp_LIBRARY | ||
NAMES assimp | ||
PATHS ${assimp_PREFIX} ${assimp_PREFIX}/lib | ||
) | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(assimp DEFAULT_MSG assimp_LIBRARY assimp_INCLUDE_DIR) | ||
mark_as_advanced(assimp_INCLUDE_DIR assimp_LIBRARY) |
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