Skip to content

Commit 7a0d2c4

Browse files
authored
Merge pull request #159 from FeignClaims/main
fix: is_verbose function + Conan OUTPUT_QUIET
2 parents 939d083 + 308b51d commit 7a0d2c4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Conan.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ macro(run_conan)
5656
if(NOT ${_is_verbose})
5757
set(OUTPUT_QUIET "OUTPUT_QUIET")
5858
else()
59-
set(OUTPUT_QUIET OFF)
59+
set(OUTPUT_QUIET)
6060
endif()
6161

6262
foreach(TYPE ${LIST_OF_BUILD_TYPES})

src/Utilities.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ endmacro()
131131

132132
# Is CMake verbose?
133133
function(is_verbose var)
134-
if("CMAKE_MESSAGE_LOG_LEVEL" STREQUAL "VERBOSE"
135-
OR "CMAKE_MESSAGE_LOG_LEVEL" STREQUAL "DEBUG"
136-
OR "CMAKE_MESSAGE_LOG_LEVEL" STREQUAL "TRACE")
134+
if("${CMAKE_MESSAGE_LOG_LEVEL}" STREQUAL "VERBOSE"
135+
OR "${CMAKE_MESSAGE_LOG_LEVEL}" STREQUAL "DEBUG"
136+
OR "${CMAKE_MESSAGE_LOG_LEVEL}" STREQUAL "TRACE")
137137
set(${var}
138138
ON
139139
PARENT_SCOPE)

0 commit comments

Comments
 (0)