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 with CMake 2.8.11.2 #3

Closed
pomerlef opened this issue Aug 8, 2013 · 1 comment
Closed

Error with CMake 2.8.11.2 #3

pomerlef opened this issue Aug 8, 2013 · 1 comment

Comments

@pomerlef
Copy link
Collaborator

pomerlef commented Aug 8, 2013

On CMake 2.8.11.2 (Windows version). I received the following error:

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

This seems to resolve the issue:

on https://github.com/ethz-asl/libnabo/blob/master/CMakeLists.txt#L93

Change to add quotes:

set_target_properties(${LIB_NAME} PROPERTIES VERSION "${PROJECT_VERSION}" SOVERSION 1)

Solution from : http://stackoverflow.com/questions/3221996/set-target-properties-called-with-incorrect-number-of-arguments

@stephanemagnenat
Copy link
Collaborator

I have applied the fix you proposed in commit a253965, but the best would be to have grep installed. It is available here: http://gnuwin32.sourceforge.net/packages/grep.htm.

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

No branches or pull requests

2 participants