Skip to content

Commit

Permalink
Pin external library versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed Aug 29, 2024
1 parent 9952fd6 commit 8affcc6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if(NEO_ENABLE_INTEL_MKL)
endif()

if(NEO_ENABLE_XSIMD)
FetchContent_Declare(xsimd GIT_REPOSITORY "https://github.com/xtensor-stack/xsimd" GIT_TAG "12.1.1" GIT_SHALLOW TRUE)
FetchContent_Declare(xsimd GIT_REPOSITORY "https://github.com/xtensor-stack/xsimd" GIT_TAG "13.0.0" GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(xsimd)
endif()

Expand Down
2 changes: 1 addition & 1 deletion extra/benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(neosonar-neo-benchmark)

set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "Enable Google benchmark tests")
FetchContent_Declare(benchmark GIT_REPOSITORY "https://github.com/google/benchmark" GIT_TAG "v1.8.3" GIT_SHALLOW TRUE)
FetchContent_Declare(benchmark GIT_REPOSITORY "https://github.com/google/benchmark" GIT_TAG "v1.9.0" GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(benchmark)

function(neo_add_benchmark _target)
Expand Down
2 changes: 1 addition & 1 deletion extra/cli/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(neosonar-neo-cli)

FetchContent_Declare(dr_libs GIT_REPOSITORY "https://github.com/mackron/dr_libs" GIT_TAG "master" GIT_SHALLOW TRUE)
FetchContent_Declare(fmt GIT_REPOSITORY "https://github.com/fmtlib/fmt" GIT_TAG "10.1.1" GIT_SHALLOW TRUE)
FetchContent_Declare(fmt GIT_REPOSITORY "https://github.com/fmtlib/fmt" GIT_TAG "11.0.2" GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(dr_libs fmt)

add_executable(neo-cli)
Expand Down
5 changes: 2 additions & 3 deletions extra/plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project(neosonar-neo-plugin VERSION ${CMAKE_PROJECT_VERSION})

FetchContent_Declare(JUCE GIT_REPOSITORY "https://github.com/juce-framework/JUCE" GIT_TAG "develop" GIT_SHALLOW TRUE)
FetchContent_Declare(JUCE GIT_REPOSITORY "https://github.com/juce-framework/JUCE" GIT_TAG "8.0.1" GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(JUCE)

set_directory_properties(PROPERTIES JUCE_COMPANY_COPYRIGHT "Copyright 2023 neo-sonar. All rights reserved.")
Expand Down Expand Up @@ -63,7 +63,6 @@ target_compile_definitions(PerceptualConvolution
JUCE_USE_CURL=0
JUCE_VST3_CAN_REPLACE_VST2=0
JUCE_USE_MP3AUDIOFORMAT=0
JUCE_DISPLAY_SPLASH_SCREEN=0
JUCE_MODAL_LOOPS_PERMITTED=1
JUCE_REPORT_APP_USAGE=0
JUCE_DISABLE_JUCE_VERSION_PRINTING=1
Expand All @@ -86,7 +85,7 @@ target_link_libraries(PerceptualConvolution
PUBLIC
neosonar::neo
juce::juce_recommended_config_flags
# juce::juce_recommended_lto_flags
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags
)

Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project(neosonar-neo-test)

FetchContent_Declare(Catch2 GIT_REPOSITORY "https://github.com/catchorg/Catch2" GIT_TAG "devel" GIT_SHALLOW TRUE)
FetchContent_Declare(Catch2 GIT_REPOSITORY "https://github.com/catchorg/Catch2" GIT_TAG "v3.7.0" GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(Catch2)
include(${Catch2_SOURCE_DIR}/extras/Catch.cmake)

Expand Down

0 comments on commit 8affcc6

Please sign in to comment.