File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -473,13 +473,13 @@ function(conan_install)
473473 # the files are generated in a folder that depends on the layout used, if
474474 # one is specified, but we don't know a priori where this is.
475475 # TODO: this can be made more robust if Conan can provide this in the json output
476- string (JSON CONAN_GENERATORS_FOLDER GET ${conan_stdout} graph nodes 0 generators_folder)
476+ string (JSON CONAN_GENERATORS_FOLDER GET " ${conan_stdout} " graph nodes 0 generators_folder)
477477 cmake_path (CONVERT ${CONAN_GENERATORS_FOLDER} TO_CMAKE_PATH_LIST CONAN_GENERATORS_FOLDER )
478478 # message("conan stdout: ${conan_stdout}")
479479 message (STATUS "CMake-Conan: CONAN_GENERATORS_FOLDER=${CONAN_GENERATORS_FOLDER} " )
480480 set_property (GLOBAL PROPERTY CONAN_GENERATORS_FOLDER "${CONAN_GENERATORS_FOLDER} " )
481481 # reconfigure on conanfile changes
482- string (JSON CONANFILE GET ${conan_stdout} graph nodes 0 label)
482+ string (JSON CONANFILE GET " ${conan_stdout} " graph nodes 0 label)
483483 message (STATUS "CMake-Conan: CONANFILE=${CMAKE_SOURCE_DIR } /${CONANFILE} " )
484484 set_property (DIRECTORY ${CMAKE_SOURCE_DIR } APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR } /${CONANFILE} " )
485485 # success
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.24 )
22
3- project (FormatOutput LANGUAGES CXX )
3+ project (FormatOutput LANGUAGES CXX C )
44
55set (CMAKE_CXX_STANDARD 14)
66
Original file line number Diff line number Diff line change @@ -3,3 +3,6 @@ fmt/9.1.0
33
44[layout]
55cmake_layout
6+
7+ [generators]
8+ CMakeDeps
You can’t perform that action at this time.
0 commit comments