Skip to content

Commit 5ea78e5

Browse files
iarspiderguitargeek
authored andcommitted
SearchInstalledSoftware.cmake: correctly report name of option to disable
1 parent 4585595 commit 5ea78e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/SearchInstalledSoftware.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ endmacro()
5454
# stop the configuration with a FATAL_ERROR in case of fail-on-missing=ON.
5555
#----------------------------------------------------------------------------
5656
macro(ROOT_CHECK_CONNECTION_AND_DISABLE_OPTION option_name)
57-
ROOT_CHECK_CONNECTION("$(option_name)=OFF")
57+
ROOT_CHECK_CONNECTION("${option_name}=OFF")
5858
if(NO_CONNECTION)
5959
message(STATUS "No internet connection, disabling '${option_name}' option")
6060
set(${option_name} OFF CACHE BOOL "Disabled because there is no internet connection" FORCE)

0 commit comments

Comments
 (0)