Skip to content

Commit

Permalink
cmake: Fix Static Analyis when plugins build is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoyt4 authored and linuxdude42 committed Jan 16, 2025
1 parent 598ed12 commit 6c30a19
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake/StaticAnalysis.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ function(sa_super)
# sub-projects.
ExternalProject_Get_Property(MythTV BINARY_DIR)
set(MythTV_BINARY_DIR ${BINARY_DIR})
ExternalProject_Get_Property(MythPlugins BINARY_DIR)
set(MythPlugins_BINARY_DIR ${BINARY_DIR})
if(MYTH_BUILD_PLUGINS)
ExternalProject_Get_Property(MythPlugins BINARY_DIR)
set(MythPlugins_BINARY_DIR ${BINARY_DIR})
endif()

# CMake always builds a compile_commands.json file in the binary
# directory. Add support for combining these into a single
Expand Down

0 comments on commit 6c30a19

Please sign in to comment.