Skip to content

When I build Example Code , a cmake errors occur !!! #104

@J-J-Wang

Description

@J-J-Wang

$ cmake .. && make
it can run with correcrt ! but run:
$ cmake .. -DBUILD_EXAMPLES=ON && make

appear error :
CMake Error at CMakeLists.txt:75 (set_target_properties):
Property INTERFACE_LINK_LIBRARIES may not contain link-type keyword
"optimized". The INTERFACE_LINK_LIBRARIES property may contain
configuration-sensitive generator-expressions which may be used to specify
per-configuration rules.

my env: g++& gcc 7.50 ,cmake 3.25, ubuntu18.04 with ros-melodic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions