From 9e419edc34f7ce6109a789535e24abf0a61298f8 Mon Sep 17 00:00:00 2001 From: Christopher P Yarger Date: Sat, 6 Feb 2021 16:17:49 -0500 Subject: [PATCH] fixes --- CMakeLists.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7e805c7..2db29901 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,9 +61,16 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) add_definitions(-DASIO_STANDALONE) -include(external/FindLibObs.cmake) -find_package(LibObs REQUIRED) - +if (${isAzure}) + if (WIN32 OR APPLE) + include(external/FindLibObs.cmake) + endif() + find_package(LibObs REQUIRED) +endif() +if (APPLE) + include(external/FindLibObs.cmake) + find_package(LibObs REQUIRED) +endif() find_package(Qt5 REQUIRED COMPONENTS Core Widgets)