Skip to content

CMake will fail if it is lower than CMake 3.12 #37

Description

@ccodere

When trying to build using CMake 3.9.6 it will fail because it does not recognize the HOMEPAGE_URL in the project() command in CMakeLists.txt. Recommendation is to either update cmake_minimum_required to version 3.12, which seems the first time the HOMEPAGE_URL keyword is recognized, or as i did to build on my side, remove the HOMEPAGE_URL in project() command.

Exact error in CMake GUI 3.9.6:
Missing variable is:
CMAKE_HOMEPAGE_URL_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_HOMEPAGE_URL_COMPILER

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions