Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 765275 Details for
Bug 830424
sci-libs/flann-1.9.1-r4: Fails in cmake, CMake Error at src/matlab/CMakeLists.txt:19 (get_property):
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A simple patch
0001-Fix-build-of-matlab-octave-with-recent-cmake.patch (text/plain), 1.87 KB, created by
Fat-Zer
on 2022-02-16 19:01:47 UTC
(
hide
)
Description:
A simple patch
Filename:
MIME Type:
Creator:
Fat-Zer
Created:
2022-02-16 19:01:47 UTC
Size:
1.87 KB
patch
obsolete
>From 9f995bdcfcee78b44e012734f6bd50e54d2b77d7 Mon Sep 17 00:00:00 2001 >From: Alexander Golubev <fatzer2@gmail.com> >Date: Wed, 16 Feb 2022 20:47:09 +0300 >Subject: [PATCH] Fix build of matlab/octave with recent cmake > >Signed-off-by: Alexander Golubev <fatzer2@gmail.com> >--- > src/matlab/CMakeLists.txt | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > >diff --git a/src/matlab/CMakeLists.txt b/src/matlab/CMakeLists.txt >index 1f7c989..4213a06 100755 >--- a/src/matlab/CMakeLists.txt >+++ b/src/matlab/CMakeLists.txt >@@ -16,9 +16,6 @@ endif() > > find_program(OCT_CMD mkoctfile) > >-get_property(FLANN_LIB_LOCATION TARGET flann_s PROPERTY LOCATION) >-get_filename_component(FLANN_LIB_PATH ${FLANN_LIB_LOCATION} PATH) >- > if(MEX_CMD AND MEXEXT_CMD) > > get_filename_component(MEX_REAL_CMD ${MEX_CMD} ABSOLUTE) >@@ -48,7 +45,7 @@ if(MEX_CMD AND MEXEXT_CMD) > ADD_CUSTOM_COMMAND( > OUTPUT ${MEX_FILE} > COMMAND ${MEX_REAL_CMD} >- ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp -I${PROJECT_SOURCE_DIR}/src/cpp -L${FLANN_LIB_PATH} -lflann_s ${MEX_BUILD_FLAGS} >+ ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp -I${PROJECT_SOURCE_DIR}/src/cpp -L${PROJECT_BINARY_DIR}/lib -lflann_s ${MEX_BUILD_FLAGS} > DEPENDS flann_s ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp > COMMENT "Building MEX extension ${MEX_FILE}" > ) >@@ -71,7 +68,7 @@ elseif(OCT_CMD) > ADD_CUSTOM_COMMAND( > OUTPUT ${MEX_FILE} > COMMAND ${OCT_CMD} >- ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp -I${PROJECT_SOURCE_DIR}/src/cpp -L${FLANN_LIB_PATH} -DFLANN_STATIC -lflann_s -lgomp >+ ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp -I${PROJECT_SOURCE_DIR}/src/cpp -L${PROJECT_BINARY_DIR}/lib -DFLANN_STATIC -lflann_s -lgomp > DEPENDS flann_s ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp > COMMENT "Building MEX extension ${MEX_FILE}" > ) >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 830424
:
761044
|
765220
| 765275