Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Silvio Traversaro <silvio@traversaro.it>
  • Loading branch information
GiulioRomualdi and traversaro authored Feb 16, 2022
1 parent 8d7efc7 commit 5cf0b9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bindings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if(ICUB_MODELS_COMPILE_PYTHON_BINDINGS)
endif()
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/METADATA "")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/METADATA "Metadata-Version: 2.1${NEW_LINE}")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/METADATA "Name: icub_models${NEW_LINE}")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/METADATA "Name: icub-models${NEW_LINE}")
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/METADATA "Version: ${PROJECT_VERSION}${NEW_LINE}")
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/INSTALLER "${ICUB_MODELS_PYTHON_PIP_METADATA_INSTALLER}${NEW_LINE}")
install(
Expand Down
3 changes: 2 additions & 1 deletion cpp/src/iCubModels.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ namespace iCubModels
{
std::string getModelsPath()
{
return "@ICUB_MODELS_MODELS_PATH@";
std::string retstr = "@ICUB_MODELS_MODELS_PATH@";
return retstr;
}

std::unordered_set<std::string> getRobotNames()
Expand Down

0 comments on commit 5cf0b9a

Please sign in to comment.