From patchwork Thu Mar 7 15:43:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10843257 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 288B2139A for ; Thu, 7 Mar 2019 15:43:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 195D52F440 for ; Thu, 7 Mar 2019 15:43:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DA282F458; Thu, 7 Mar 2019 15:43:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 87BBB2F440 for ; Thu, 7 Mar 2019 15:43:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726250AbfCGPnn (ORCPT ); Thu, 7 Mar 2019 10:43:43 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:46873 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726296AbfCGPnn (ORCPT ); Thu, 7 Mar 2019 10:43:43 -0500 Received: by mail-wr1-f68.google.com with SMTP id i16so17958184wrs.13 for ; Thu, 07 Mar 2019 07:43:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=u2lo2WEDRuEdyIPOfJAVbLGdfhu/OMhY0/4TDFAALgs=; b=Fn9X4aVX0GjrPmYbSQ/foBX0dMomjp+O8QAYRy6G1M8dRPYSFbvWxgGiITGrUCj9NG 4wuh9ssJFAHI3bedJ9sLOFP1f5ILTudQzhlq5T+655e8zIDN31DsH/ikfatC1JhS/9Jr i25NBgma3SWJ+ejgt1x2nVBIDEJwcZOHjopdwpsWU4czu1awAEtC5sGGjh1GRbF8x3Mj lrMp2w7bvIDHB/D3AAdAWGTVUq290TxoMpMnQuz1VnnSVedxFDg4OtUcty922qcLkjkT dEywh4nmY/zLtAmGKbtb3wDWws92mlBLQFIl1+/N9gPc3o5FyxP2ocYL3Xv7cdsLpqLi 4ehg== X-Gm-Message-State: APjAAAV4KmchCGSBk/WTX4wuTt3H3cARfORkVOTrZsp/LUNcWZyv9nRZ mz/PJ7Y3hHvUN69rdAtmOnQ6yyMEaBg= X-Google-Smtp-Source: APXvYqwkb3KRVFpeCvSTQBiSpHICCwGYhDHorOSD4ALKC6CIGeaP4yO/T5GcNoqxjx98ZDV0v8Q/og== X-Received: by 2002:a5d:6744:: with SMTP id l4mr2692255wrw.226.1551973421450; Thu, 07 Mar 2019 07:43:41 -0800 (PST) Received: from localhost.localdomain ([95.87.198.56]) by smtp.gmail.com with ESMTPSA id h9sm10081463wrv.11.2019.03.07.07.43.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 07:43:41 -0800 (PST) From: Yordan Karadzhov To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org, Yordan Karadzhov Subject: [PATCH v2 1/4] kernel-shark: Specify the OpenGL interface used by KernelShark Date: Thu, 7 Mar 2019 17:43:13 +0200 Message-Id: <20190307154316.19194-2-ykaradzhov@vmware.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190307154316.19194-1-ykaradzhov@vmware.com> References: <20190307154316.19194-1-ykaradzhov@vmware.com> MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We instruct CMAKE to prefer using the legacy libGL library, if available. Although this is the default choice, the latest versions of CMAKE are printing a warning message in the case when no explicit preference is provided. Suggested-by: Slavomir Kaslev Signed-off-by: Yordan Karadzhov --- kernel-shark/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel-shark/CMakeLists.txt b/kernel-shark/CMakeLists.txt index 9460026..20ced14 100644 --- a/kernel-shark/CMakeLists.txt +++ b/kernel-shark/CMakeLists.txt @@ -22,6 +22,7 @@ include(${KS_DIR}/build/FindJSONC.cmake) find_package(Doxygen) +set(OpenGL_GL_PREFERENCE LEGACY) find_package(OpenGL) find_package(GLUT)