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

Leaving SIGN_SCRIPT unset fails CMake generation #216

Open
kristibektashi opened this issue Dec 4, 2024 · 1 comment
Open

Leaving SIGN_SCRIPT unset fails CMake generation #216

kristibektashi opened this issue Dec 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kristibektashi
Copy link

When I try it shows this error:

CMake Deprecation Warning at phnt/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Error: File C:/Users/Kristibek/Documents/GitHub/SecureUxTheme/$<TARGET_FILE:SecureUxTheme> does not exist.
CMake Error at CMakeLists.txt:75 (configure_file):
  configure_file Problem configuring file


Configuring incomplete, errors occurred!

I have also tried with an older CMake version and it still shows the second error and fails to configure the project.

@kristibektashi kristibektashi changed the title How to compile CMake version on Windows? How to compile with CMake on Windows? Dec 4, 2024
@namazso
Copy link
Owner

namazso commented Dec 4, 2024

Uh.. I think my CMake code is just wrong. I have SIGN_SCRIPT configured so I don't hit that path. It seems like configure_file doesn't take generator expressions.

For now just providing a stub sign script (like a wrapper around COPY) will get it compile.

@namazso namazso added the bug Something isn't working label Dec 4, 2024
@namazso namazso changed the title How to compile with CMake on Windows? Leaving SIGN_SCRIPT unset fails CMake generation Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants