Fix required by suitesparse to build Mongoose The CMakeLists.txt of Mongoose assumes that SuiteSparse_config has been installed into the suitesparse source directory, which is not the case for us, as we are building suitesparse out-of-tree. SuiteSparse_config can instead be found in the ${CMAKE_INSTALL_PREFIX} directory. diff --git a/Mongoose/CMakeLists.txt b/Mongoose/CMakeLists.txt index 7e134ab..76fa9e2 100644 --- a/Mongoose/CMakeLists.txt +++ b/Mongoose/CMakeLists.txt @@ -148,10 +148,10 @@ set(CMAKE_CXX_STANDARD 11) #set(CMAKE_CXX_STANDARD_REQUIRED ON) # determine which SuiteSparse_config to use -if (EXISTS ${PROJECT_SOURCE_DIR}/../SuiteSparse_config) - message(STATUS "External ../SuiteSparse_config" ${BoldBlue} " found" ${ColourReset} ".") +if (EXISTS ${CMAKE_INSTALL_PREFIX}) + message(STATUS "External SuiteSparse_config" ${BoldBlue} " found" ${ColourReset} ".") set ( SUITESPARSE_CONFIG_DIR ${PROJECT_SOURCE_DIR}/../SuiteSparse_config ) - link_directories ( ${PROJECT_SOURCE_DIR}/../lib ) + link_directories ( ${CMAKE_INSTALL_PREFIX}/lib ) message ( STATUS "Note: ../SuiteSparse_config must be compiled before compiling Mongoose" ) set ( SUITESPARSE_CONFIG_LIBRARY suitesparseconfig ) else () em/install.scm?id=11e9b45cd49c0f05f18a82a7740bc29253438a39'>treecommitdiff
path: root/gnu/system/install.scm
AgeCommit message (Expand)Author
2023-12-22images: Add orangepi-r1-plus-lts image....Herman Rimm
2023-12-02gnu: Use ‘libc-utf8-locales-for-target’....Janneke Nieuwenhuizen
2023-09-17gnu: file-systems: Add variable %base-live-file-systems....Nicolas Graves
2023-03-03services: dbus: Deprecate 'dbus-service' procedure....Bruno Victal
2023-03-03services: base: Deprecate 'udev-service' procedure....Bruno Victal
2023-03-03services: base: Deprecate 'syslog-service' procedure....Bruno Victal
2023-03-03services: base: Deprecate 'nscd-service' procedure....Bruno Victal
2023-03-03services: base: Deprecate 'mingetty-service' procedure....Bruno Victal
2023-03-03services: base: Deprecate 'login-service' procedure....Bruno Victal
2022-12-19Merge branch 'version-1.4.0'Ludovic Courtès
2022-12-15install: Make sure uvesafb can be loaded....Ludovic Courtès
2022-12-11install: Add lvm2-static system package....Tobias Geerinckx-Rice
2022-12-06install: Add missing e2fsprogs utility....Maxim Cournoyer
2022-12-06system: Rename and move %base-packages-disk-utilities....Maxim Cournoyer
2022-12-05install: Add missing e2fsprogs utility....Maxim Cournoyer
2022-12-05system: Rename and move %base-packages-disk-utilities....Maxim Cournoyer