File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ endfunction()
383
383
384
384
function (lldb_find_python_module module )
385
385
set (MODULE_FOUND PY_${module}_FOUND )
386
- if (DEFINED ${MODULE_FOUND} )
386
+ if (${MODULE_FOUND} )
387
387
return ()
388
388
endif ()
389
389
@@ -392,10 +392,10 @@ function(lldb_find_python_module module)
392
392
ERROR_QUIET )
393
393
394
394
if (status )
395
- set (${MODULE_FOUND} OFF CACHE BOOL "Failed to find python module ' ${module} '" )
395
+ set (${MODULE_FOUND} OFF PARENT_SCOPE )
396
396
message (STATUS "Could NOT find Python module '${module} '" )
397
397
else ()
398
- set (${MODULE_FOUND} ON CACHE BOOL "Found python module ' ${module} '" )
398
+ set (${MODULE_FOUND} ON PARENT_SCOPE )
399
399
message (STATUS "Found Python module '${module} '" )
400
400
endif ()
401
401
endfunction ()
You can’t perform that action at this time.
0 commit comments