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

Fix interrepo android build #5620

Merged
merged 1 commit into from
Sep 7, 2024
Merged

Conversation

m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented Sep 7, 2024

No description provided.

Comment on lines 1 to 3
if(NOT "ENV{KEYNAME}x" STREQUAL "x"
AND NOT "ENV{KEYPASS}x" STREQUAL "x"
AND NOT "ENV{STOREPASS}x" STREQUAL "x")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just managed to build via docker locally, adding a $ worked for me:

Suggested change
if(NOT "ENV{KEYNAME}x" STREQUAL "x"
AND NOT "ENV{KEYPASS}x" STREQUAL "x"
AND NOT "ENV{STOREPASS}x" STREQUAL "x")
if(NOT "$ENV{KEYNAME}x" STREQUAL "x"
AND NOT "$ENV{KEYPASS}x" STREQUAL "x"
AND NOT "$ENV{STOREPASS}x" STREQUAL "x")

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just managed to build via docker locally, adding a $ worked for me:

A lot of implicit knowledge required for expansion in if https://cmake.org/cmake/help/latest/command/if.html

There is no automatic evaluation for environment or cache Variable References. Their values must be referenced as $ENV{} or $CACHE{} wherever the above-documented condition syntax accepts <variable|string>.

@m-kuhn m-kuhn force-pushed the fix-interrepo-build branch 2 times, most recently from f0d608a to d55a65b Compare September 7, 2024 07:55
@m-kuhn m-kuhn merged commit 94bbd18 into opengisch:master Sep 7, 2024
19 of 23 checks passed
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