From 63e6875e27756287aa058fa769837805afe5bda5 Mon Sep 17 00:00:00 2001 From: milad Date: Wed, 4 Dec 2019 11:28:32 -0800 Subject: [PATCH] added flag for windows and apple only on dependency --- interface/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 4791a9a827..4dcb0778d4 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -185,7 +185,10 @@ if (BUILD_TOOLS AND NPM_EXECUTABLE) add_dependencies(resources jsdoc) endif() -add_dependencies(${TARGET_NAME} resources screenshare) +if (WIN32 OR APPLE) + add_dependencies(${TARGET_NAME} resources screenshare) +endif() + if (WIN32) # These are external plugins, but we need to do the 'add dependency' here so that their