forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/assimp: patch that fixes Findassimp cmake module path
In default assimp installation there are hardcoded paths for /usr/local/lib Reported in bug 595066 Reported-By: Patrick Nicolas <[email protected]> Package-Manager: portage-2.3.1
- Loading branch information
Slawomir Lis
committed
Sep 26, 2016
1 parent
c39c747
commit 4053dbe
Showing
2 changed files
with
30 additions
and
0 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,25 @@ | ||
--- a/cmake-modules/Findassimp.cmake 2016-09-26 07:52:09.719727490 +0200 | ||
+++ b/cmake-modules/Findassimp.cmake 2016-09-26 07:52:28.509727838 +0200 | ||
@@ -55,13 +55,13 @@ | ||
find_path( | ||
assimp_INCLUDE_DIRS | ||
NAMES postprocess.h scene.h version.h config.h cimport.h | ||
- PATHS /usr/local/include/ | ||
+ PATHS /usr/include/ | ||
) | ||
|
||
find_library( | ||
assimp_LIBRARIES | ||
NAMES assimp | ||
- PATHS /usr/local/lib/ | ||
+ PATHS /usr/lib/ | ||
) | ||
|
||
if (assimp_INCLUDE_DIRS AND assimp_LIBRARIES) | ||
@@ -78,4 +78,4 @@ | ||
endif (assimp_FIND_REQUIRED) | ||
endif (assimp_FOUND) | ||
|
||
-endif(WIN32) | ||
\ Brak znaku nowej linii na końcu pliku | ||
+endif(WIN32) |