Skip to content

[libomptarget] Regression when LLVM_LIBRARY_OUTPUT_INTDIR is not set #74079

@tuliom

Description

@tuliom

Is this if-else doing the opposite of the intended behavior?
It uses LLVM_LIBRARY_OUTPUT_INTDIR when it is not set, leading to the following kind of error:

CMake Error at libomptarget/DeviceRTL/CMakeLists.txt:304 (set_target_properties):
  set_target_properties called with incorrect number of arguments.

I started seeing this error after #73705 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmakeBuild system in general and CMake in particularopenmp

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions