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

Error evaluating generator expression: $<TARGET_OBJECTS:ice40_chipdb> #173

Closed
uXeBoy opened this Issue Dec 8, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@uXeBoy
Copy link

uXeBoy commented Dec 8, 2018

Getting these errors when attempting: cmake -DARCH=ice40 .

Help?

CMake Error at ice40/family.cmake:81 (target_sources):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:ice40_chipdb>

  The evaluation of the TARGET_OBJECTS generator expression is only suitable
  for consumption by CMake.  It is not suitable for writing out elsewhere.
Call Stack (most recent call first):
  CMakeLists.txt:233 (include)


CMake Error at ice40/family.cmake:81 (target_sources):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:ice40_chipdb>

  The evaluation of the TARGET_OBJECTS generator expression is only suitable
  for consumption by CMake.  It is not suitable for writing out elsewhere.
Call Stack (most recent call first):
  CMakeLists.txt:233 (include)


CMake Error at ice40/family.cmake:81 (target_sources):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:ice40_chipdb>

  The evaluation of the TARGET_OBJECTS generator expression is only suitable
  for consumption by CMake.  It is not suitable for writing out elsewhere.
Call Stack (most recent call first):
  CMakeLists.txt:233 (include)


CMake Error at ice40/family.cmake:81 (target_sources):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:ice40_chipdb>

  The evaluation of the TARGET_OBJECTS generator expression is only suitable
  for consumption by CMake.  It is not suitable for writing out elsewhere.
Call Stack (most recent call first):
  CMakeLists.txt:233 (include)
@daveshah1

This comment has been minimized.

Copy link
Member

daveshah1 commented Dec 8, 2018

Thanks for the bug report! Can you please post your operating system and CMake version?

@uXeBoy

This comment has been minimized.

Copy link
Author

uXeBoy commented Dec 8, 2018

This is on Ubuntu 14.04 with CMake version 3.3.2

@uXeBoy

This comment has been minimized.

Copy link
Author

uXeBoy commented Dec 9, 2018

OK, updating to CMake 3.7.2 using this PPA seems to have resolved this...

@daveshah1 daveshah1 closed this Feb 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.