diff options
Diffstat (limited to 'cmake/scripts/osx/ExtraTargets.cmake')
-rw-r--r-- | cmake/scripts/osx/ExtraTargets.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/scripts/osx/ExtraTargets.cmake b/cmake/scripts/osx/ExtraTargets.cmake index 28c1e742f7..a21eb335f3 100644 --- a/cmake/scripts/osx/ExtraTargets.cmake +++ b/cmake/scripts/osx/ExtraTargets.cmake @@ -1,3 +1,5 @@ # XBMCHelper -add_subdirectory(${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/OSXRemote build/XBMCHelper) -add_dependencies(${APP_NAME_LC} XBMCHelper) +if(ENABLE_XBMCHELPER) + add_subdirectory(${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/OSXRemote build/XBMCHelper) + add_dependencies(${APP_NAME_LC} XBMCHelper) +endif() |