Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,159
    • Issues 4,159
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Gitlab will be updated March 24th, between 8AM and 9AM EST (UTC-5). Gitlab may have intermittent delays during that time.

  • CMakeCMake
  • CMakeCMake
  • Issues
  • #19693
Closed
Open
Issue created Sep 10, 2019 by Bub Wei@bublover

This is allowed only when policy CMP0079 is set to NEW.

Dear guys,

I met a problem in cmake.

CMake Error at ../../middleware/open_source/lwip/CMakeLists.txt:35 (target_link_libraries):
  Attempt to add link library "middleware__lwipcore" to target "unsc_rtos"
  which is not built in this directory.

    This is allowed only when policy CMP0079 is set to NEW.

As error clue, tried to use policy.

cmake_policy(SET CMP0079 NEW)

But new issue comes. This library will be building always even if there is not any change in source codes.

Thanks!

Best Regards, Bub Wei

Edited Sep 10, 2019 by Bub Wei
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking