Skip to content

Commit

Permalink
Use specific versions of PicoJSON and RtAudio
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjohnston committed May 7, 2020
1 parent 63e836c commit f1242ca
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
6 changes: 5 additions & 1 deletion cmake/Modules/BuildPicoJSON.cmake
@@ -1,9 +1,13 @@
include(ExternalProject)

# Tag: v1.3.0
set(PicoJSON_GIT_TAG 25fc213cca61ea22b3c2e4db8def9927562ba5f7)

ExternalProject_Add(
PicoJSON
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/PicoJSON
URL http://github.com/kazuho/picojson/archive/master.zip
GIT_REPOSITORY https://github.com/kazuho/picojson.git
GIT_TAG ${PicoJSON_GIT_TAG}
PATCH_COMMAND
${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/picojson-patch/CMakeLists.txt
Expand Down
5 changes: 4 additions & 1 deletion cmake/Modules/BuildRtAudio.cmake
@@ -1,5 +1,8 @@
include(ExternalProject)

# Tag: 5.1.0
set(RtAudio_GIT_TAG d27f257b4bc827e4152cdc4d69a2e22084204afd)

set(RtAudio_ARGS
-DCMAKE_MODULE_PATH=${CMAKE_MODULE_PATH}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
Expand All @@ -15,5 +18,5 @@ ExternalProject_Add(
RtAudio
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/RtAudio
GIT_REPOSITORY https://github.com/thestk/rtaudio.git
GIT_TAG ${RtAudio_GIT_TAG}
CMAKE_ARGS ${RtAudio_ARGS})

2 changes: 1 addition & 1 deletion cmake/Modules/FindRtAudio.cmake
Expand Up @@ -14,7 +14,7 @@
#
# * RtAudio

find_path(RtAudio_INCLUDE_DIR NAMES rtaudio/RtAudio.h)
find_path(RtAudio_INCLUDE_DIR NAMES RtAudio.h)
set(RtAudio_INCLUDE_DIRS ${RtAudio_INCLUDE_DIR})

if(WIN32)
Expand Down
2 changes: 1 addition & 1 deletion lib/djvAV/Audio.h
Expand Up @@ -12,7 +12,7 @@
//#include <AL/al.h>
//#include <AL/alc.h>
//#include <AL/alext.h>
#include <rtaudio/RtAudio.h>
#include <RtAudio.h>

#include <limits>

Expand Down
2 changes: 1 addition & 1 deletion lib/djvAV/AudioSystem.cpp
Expand Up @@ -11,7 +11,7 @@
#include <djvCore/StringFormat.h>
#include <djvCore/TextSystem.h>

#include <rtaudio/RtAudio.h>
#include <RtAudio.h>

using namespace djv::Core;

Expand Down
2 changes: 1 addition & 1 deletion lib/djvUI/SettingsSystem.cpp
Expand Up @@ -24,7 +24,7 @@ namespace djv
{
namespace
{
const size_t settingsVersion = 24;
const size_t settingsVersion = 25;

} // namespace

Expand Down
2 changes: 1 addition & 1 deletion lib/djvViewApp/Media.h
Expand Up @@ -11,7 +11,7 @@
#include <djvCore/ListObserver.h>
#include <djvCore/ValueObserver.h>

#include <rtaudio/RtAudio.h>
#include <RtAudio.h>

namespace djv
{
Expand Down

0 comments on commit f1242ca

Please sign in to comment.