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

build: fix error set_target_properties called with incorrect arguments number #100

Conversation

marco-tranzatto
Copy link

PR fixes a compiler error about:

CMake Error at CMakeLists.txt:21 (set_target_properties):
set_target_properties called with incorrect number of arguments

When compiling the project with cmake within a ROS1 environment, the compiler termites with an error about "CMake Error at CMakeLists.txt:21 (set_target_properties): set_target_properties called with incorrect number of arguments".
Fixed by inserting cmake variables (within the command "set_target_properties") in double quotes.

I successfully tested the fix with both the standard build instructions for cmake, contained in the readme, and in the ROS1 environment. Please let me know if you can also double check this on your side.

…f arguments

When compiling the project with cmake withing a ROS1 environment, the compiler termites with an error about "CMake Error at CMakeLists.txt:21 (set_target_properties): set_target_properties called with incorrect number of arguments".
Fixed by inserting cmake variables within double quotes.
@jrsnen jrsnen merged commit 33f6260 into ultravideo:master Mar 4, 2022
@jrsnen
Copy link
Member

jrsnen commented Mar 4, 2022

I checked this, and it worked on both my test environments 👍

@marco-tranzatto marco-tranzatto deleted the fix/arguments_set_target_properties branch March 4, 2022 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants