From ec0673d777d724b0b0afb43f7368cb78c8051102 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Thu, 19 Sep 2019 11:24:43 +0200 Subject: [PATCH] [CMake] style --- CMakeLists.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a86607a..b3e420a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,19 +30,19 @@ OPTION (BUILD_PYTHON_INTERFACE "Build the python unit tests and helpers" ON) OPTION (INSTALL_PYTHON_INTERFACE_ONLY "Install *ONLY* the python interface" OFF) IF(BUILD_PYTHON_INTERFACE) - ADD_REQUIRED_DEPENDENCY("pinocchio >= 2.1.0") - FINDPYTHON() - STRING(REGEX REPLACE "-" "_" PY_NAME ${PROJECT_NAME}) - ADD_SUBDIRECTORY(${PY_NAME}) - ADD_SUBDIRECTORY(unittest) + ADD_REQUIRED_DEPENDENCY("pinocchio >= 2.1.0") + FINDPYTHON() + STRING(REGEX REPLACE "-" "_" PY_NAME ${PROJECT_NAME}) + ADD_SUBDIRECTORY(${PY_NAME}) + ADD_SUBDIRECTORY(unittest) ENDIF(BUILD_PYTHON_INTERFACE) IF(NOT INSTALL_PYTHON_INTERFACE_ONLY) - INSTALL(DIRECTORY hyq_description DESTINATION share/${PROJECT_NAME}) - INSTALL(DIRECTORY solo_description DESTINATION share/${PROJECT_NAME}) - INSTALL(DIRECTORY icub_description DESTINATION share/${PROJECT_NAME}) - INSTALL(DIRECTORY talos_data DESTINATION share/${PROJECT_NAME}) - INSTALL(DIRECTORY tiago_description DESTINATION share/${PROJECT_NAME}) + INSTALL(DIRECTORY hyq_description DESTINATION share/${PROJECT_NAME}) + INSTALL(DIRECTORY solo_description DESTINATION share/${PROJECT_NAME}) + INSTALL(DIRECTORY icub_description DESTINATION share/${PROJECT_NAME}) + INSTALL(DIRECTORY talos_data DESTINATION share/${PROJECT_NAME}) + INSTALL(DIRECTORY tiago_description DESTINATION share/${PROJECT_NAME}) ENDIF(NOT INSTALL_PYTHON_INTERFACE_ONLY) SETUP_PROJECT_FINALIZE() -- GitLab