Skip to content

Commit

Permalink
cmake renamed local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 21, 2024
1 parent 249d523 commit 47bbea9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/CommonModules/CsDebug.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ function(cs_print_target_properties target)
continue()
endif()

get_property(was_set TARGET ${target} PROPERTY ${property} SET)
get_property(isTargetSet TARGET ${target} PROPERTY ${property} SET)

if(was_set)
if(isTargetSet)
get_target_property(value ${target} ${property})
message("${property} = ${value}")
endif()
Expand Down Expand Up @@ -100,9 +100,9 @@ function(cs_print_source_properties source)
continue()
endif()

get_property(was_set SOURCE "${source}" PROPERTY ${property} SET)
get_property(isTargetSet SOURCE "${source}" PROPERTY ${property} SET)

if(was_set)
if(isTargetSet)
get_source_file_property(value "${source}" ${property})
message("${property} = ${value}")
endif()
Expand Down

0 comments on commit 47bbea9

Please sign in to comment.