{"id":27222339,"url":"https://github.com/wavefunction91/cmake-modules","last_synced_at":"2026-01-20T08:32:31.514Z","repository":{"id":94560688,"uuid":"149793238","full_name":"wavefunction91/cmake-modules","owner":"wavefunction91","description":"Collection of modern CMake modules that target HPC software","archived":false,"fork":false,"pushed_at":"2019-11-05T19:50:47.000Z","size":51,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T09:07:42.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wavefunction91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-21T17:03:03.000Z","updated_at":"2021-08-10T04:36:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b070f119-ead7-4538-81ee-2e58eab55ef4","html_url":"https://github.com/wavefunction91/cmake-modules","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wavefunction91/cmake-modules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefunction91%2Fcmake-modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefunction91%2Fcmake-modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefunction91%2Fcmake-modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefunction91%2Fcmake-modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wavefunction91","download_url":"https://codeload.github.com/wavefunction91/cmake-modules/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefunction91%2Fcmake-modules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28599010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-10T08:58:34.181Z","updated_at":"2026-01-20T08:32:31.502Z","avatar_url":"https://github.com/wavefunction91.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"A collection of CMake files for commonly used HPC libraries which export targets for simple\ndependency tracking and linking.\n\nFor example, consider a software which has to link to ParMETIS. ParMETIS has a linkage\ndependency on METIS, which must also be installed. The traditional manner of handling\nthis would be to find both packages and handle the linkage separately,\n\n```cmake\n  find_package( METIS    )\n  find_package( ParMETIS )\n\n  include_directories( ${METIS_INCLUDE_DIR} )\n  include_directories( ${PARMETIS_INCLUDE_DIR} )\n\n  add_executable( test test.cxx )\n  target_link_libraries( test ${PARMETIS_LIBRARIES} )\n  target_link_libraries( test ${METIS_LIBRARIES} )\n```\n  \n\nHere the order matters if linking statically, METIS must be linked *after*\nParMETIS. \n\n\nThe included CMake files handle this is a more coherent manner through the use\nof CMake targets. See [this article](https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/)\nfor more details.\n\n```cmake\n  find_package( ParMETIS )\n\n  add_executable( test test.cxx )\n  target_link_libraries( test PatMETIS::parmetis )\n```\n\nThis not only handles the dependency of ParMETIS on METIS, but also removes\nthe need to explicitly pass anything to `include_directories`. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavefunction91%2Fcmake-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwavefunction91%2Fcmake-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavefunction91%2Fcmake-modules/lists"}