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

cannot build if cloned as submodule #108

Open
umlaeute opened this issue Mar 7, 2023 · 0 comments
Open

cannot build if cloned as submodule #108

umlaeute opened this issue Mar 7, 2023 · 0 comments

Comments

@umlaeute
Copy link

umlaeute commented Mar 7, 2023

I just tried using Servus as a git submodule, but CMake happily refuses to configure with:

CMake Error: Could not open file for write in copy operation .../Servus/.git/hooks/pre-commit.tmp
CMake Error: : System Error: Not a directory
CMake Error at CMake/common/GitHooks.cmake:18 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMake/common/Common.cmake:152 (include)
  CMakeLists.txt:35 (include)

and indeed: Servus/.git is not a directory, but is a file, referencing the parent repository.

I figure this is actually a problem in https://github.com/Eyescale/CMake

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

No branches or pull requests

1 participant