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

CMake: No target "gie" #2898

Closed
mwtoews opened this issue Oct 10, 2021 · 0 comments · Fixed by #2899
Closed

CMake: No target "gie" #2898

mwtoews opened this issue Oct 10, 2021 · 0 comments · Fixed by #2899
Assignees
Labels
Milestone

Comments

@mwtoews
Copy link
Member

mwtoews commented Oct 10, 2021

When configuring a CMake build of PROJ with:

cmake -DBUILD_GIE=OFF -DBUILD_TESTING=ON ..

an error is repeated over 30 times:

CMake Error at cmake/ProjTest.cmake:31 (add_test):
  Error evaluating generator expression:

    $<TARGET_FILE_NAME:gie>

  No target "gie"
Call Stack (most recent call first):
  test/CMakeLists.txt:6 (proj_add_gie_test)

Some options are:

  1. Skip tests that require gie
  2. Build gie so it can be used for tests, but don't install it

Unless anyone has an objection, I'll go for option 2.

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

Successfully merging a pull request may close this issue.

1 participant