Skip to content

Commit

Permalink
Perfetto OFF!
Browse files Browse the repository at this point in the history
  • Loading branch information
sudara committed Jul 21, 2024
1 parent d71bf4f commit 1fe8e7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ set(MP_INSTALL_DEST "${CMAKE_INSTALL_LIBDIR}/cmake/melatonin_perfetto"

message (STATUS "Cloning Perfetto...")

#set(FETCHCONTENT_UPDATES_DISCONNECTED_Perfetto ON)

FetchContent_Declare(Perfetto
GIT_REPOSITORY https://android.googlesource.com/platform/external/perfetto
GIT_TAG v41.0
Expand Down
4 changes: 2 additions & 2 deletions melatonin_perfetto/melatonin_perfetto.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ END_JUCE_MODULE_DECLARATION
#pragma once

// I'm lazy and just toggle perfetto right here
// But you can define it in your build system or in the file that includes this
// But you can define it in your build system or in the file that includes this header
#ifndef PERFETTO
#define PERFETTO 1
#define PERFETTO 0
#endif

#if PERFETTO
Expand Down

0 comments on commit 1fe8e7c

Please sign in to comment.