File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 2.8.12)
2
2
project (msckf_vio)
3
3
4
- add_compile_options (-std=c++11 -Wall )
4
+ add_compile_options (-std=c++11)
5
5
6
6
# Modify cmake module path if new .cmake files are required
7
7
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR} /cmake" )
Original file line number Diff line number Diff line change 1
1
# SPQR lib usually requires linking to a blas and lapack library.
2
2
# It is up to the user of this module to find a BLAS and link to it.
3
3
4
- # SPQR lib requires Cholmod, colamd and amd as well.
4
+ # SPQR lib requires Cholmod, colamd and amd as well.
5
5
# FindCholmod.cmake can be used to find those packages before finding spqr
6
6
7
7
if (SPQR_INCLUDES AND SPQR_LIBRARIES)
@@ -23,11 +23,11 @@ find_library(SPQR_LIBRARIES spqr $ENV{SPQRDIR} ${LIB_INSTALL_DIR})
23
23
24
24
if (SPQR_LIBRARIES)
25
25
26
- find_library (SUITESPARSE_LIBRARY SuiteSparse PATHS $ENV{SPQRDIR} ${LIB_INSTALL_DIR} )
27
- if (SUITESPARSE_LIBRARY )
28
- set (SPQR_LIBRARIES ${SPQR_LIBRARIES} ${SUITESPARSE_LIBRARY } )
29
- endif (SUITESPARSE_LIBRARY )
30
-
26
+ find_library (SUITESPARSECONFIG_LIBRARY NAMES suitesparseconfig PATHS $ENV{SPQRDIR} ${LIB_INSTALL_DIR} )
27
+ if (SUITESPARSECONFIG_LIBRARY )
28
+ set (SPQR_LIBRARIES ${SPQR_LIBRARIES} ${SUITESPARSECONFIG_LIBRARY } )
29
+ endif (SUITESPARSECONFIG_LIBRARY )
30
+
31
31
endif (SPQR_LIBRARIES)
32
32
33
33
include (FindPackageHandleStandardArgs)
You can’t perform that action at this time.
0 commit comments