Skip to content

Commit 2412f6b

Browse files
committed
fix: fix OUTPUT_QUIET for conan
1 parent 77861cd commit 2412f6b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/Conan.cmake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ macro(run_conan)
3434

3535
is_verbose(_is_verbose)
3636
if(NOT ${_is_verbose})
37-
set(CONAN_QUIET YES)
37+
set(OUTPUT_QUIET "OUTPUT_QUIET")
38+
else()
39+
set(OUTPUT_QUIET OFF)
3840
endif()
3941

4042
foreach(TYPE ${LIST_OF_BUILD_TYPES})
@@ -53,7 +55,7 @@ macro(run_conan)
5355
OPTIONS ${ProjectOptions_CONAN_OPTIONS}
5456
# Pass CMake compilers to Conan
5557
ENV "CC=${CMAKE_C_COMPILER}" "CXX=${CMAKE_CXX_COMPILER}"
56-
SETTINGS ${settings} OUTPUT_QUIET ${CONAN_QUIET})
58+
SETTINGS ${settings} ${OUTPUT_QUIET})
5759
endforeach()
5860

5961
endmacro()

0 commit comments

Comments
 (0)