-
-
Notifications
You must be signed in to change notification settings - Fork 129
Closed
Description
I'm having a smalish problem when building elmerfem with mmg:5.5.2 on linux host.
Mainly cmake complains about missing FindSCOTCH.cmake.
FindSCOTCH.cmake gets installed into /usr/lib/cmake/mmg here:
Lines 485 to 488 in 71e46c5
| install(FILES | |
| ${PROJECT_SOURCE_DIR}/cmake/modules/FindSCOTCH.cmake | |
| ${PROJECT_SOURCE_DIR}/cmake/modules/FindElas.cmake | |
| DESTINATION ${MMG_CMAKE_INSTALL_DIR} ) |
Instead of /usr/lib/cmake/Modules which allow
cmake to discover it.You could move the file, or append current dir to path like in for example
gnuradio GnuradioConfig.cmake here:
# Allows us to use all .cmake files in this directory
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_LIST_DIR}")Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels