From 9786b3e1b9eb0721760c1bf0fbf59bf9b2de448d Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 5 Nov 2019 15:16:35 +0200 Subject: [PATCH] Fix CLion integration when project name contains a space --- platformio/ide/tpls/clion/CMakeLists.txt.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio/ide/tpls/clion/CMakeLists.txt.tpl b/platformio/ide/tpls/clion/CMakeLists.txt.tpl index 9fb475f0..0b758531 100644 --- a/platformio/ide/tpls/clion/CMakeLists.txt.tpl +++ b/platformio/ide/tpls/clion/CMakeLists.txt.tpl @@ -6,7 +6,7 @@ # The `CMakeListsUser.txt` will not be overwritten by PlatformIO. cmake_minimum_required(VERSION 3.2) -project({{project_name}}) +project("{{project_name}}") include(CMakeListsPrivate.txt) @@ -86,4 +86,4 @@ add_custom_target( WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) -add_executable(${PROJECT_NAME} ${SRC_LIST}) +add_executable(pioprog ${SRC_LIST})