Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Update HOMEPAGE_URL in CMakeLists.txt #44

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

Joker2770
Copy link
Contributor

The value for the key of HOMEPAGE_URL is url-string type.

project(<PROJECT-NAME>
        [VERSION <major>[.<minor>[.<patch>[.<tweak>]]]]
        [DESCRIPTION <project-description-string>]
        [HOMEPAGE_URL <url-string>]
        [LANGUAGES <language-name>...])

The value for the key of HOMEPAGE_URL is url-string type.

```cmake
project(<PROJECT-NAME>
        [VERSION <major>[.<minor>[.<patch>[.<tweak>]]]]
        [DESCRIPTION <project-description-string>]
        [HOMEPAGE_URL <url-string>]
        [LANGUAGES <language-name>...])
```
@Joker2770
Copy link
Contributor Author

Once I built a snapcraft application and found the problem, the reference log as follow.

Building libsgfcplusplus 
+ snapcraftctl build
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
CMake Error: Could not find cmake module file: CMakeDetermineHOMEPAGE_URLCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
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
CMake Error: Could not find cmake module file: /build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/3.10.2/CMakeHOMEPAGE_URLCompiler.cmake
CMake Error: Could not find cmake module file: CMakeDeterminehttps://github.com/herzbube/libsgfcplusplusCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER
CMake Error: Could not find cmake module file: /build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/3.10.2/CMakehttps://github.com/herzbube/libsgfcplusplusCompiler.cmake
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:10 (project):
  No CMAKE_HOMEPAGE_URL_COMPILER could be found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_HOMEPAGE_URL_COMPILER to the full path to the compiler, or to the
  compiler name if it is in the PATH.


CMake Error: Could not find cmake module file: CMakeHOMEPAGE_URLInformation.cmake
CMake Error at CMakeLists.txt:10 (project):
  No CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER could be
  found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


CMake Error: Could not find cmake module file: CMakehttps://github.com/herzbube/libsgfcplusplusInformation.cmake
CMake Error: CMAKE_HOMEPAGE_URL_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/CMakeOutput.log".

@herzbube herzbube merged commit c322256 into herzbube:develop Jul 12, 2024
3 checks passed
@herzbube
Copy link
Owner

Thanks a lot for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants