From f6ff7e48c1dbd7e798a5fe8f770ae16a1f2085e0 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 28 Jul 2022 22:38:08 +1000 Subject: [PATCH] Build: Fix compiling for arm64/linux --- dep/soundtouch/soundtouch.vcxproj | 3 ++- src/common/CMakeLists.txt | 2 +- src/util/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dep/soundtouch/soundtouch.vcxproj b/dep/soundtouch/soundtouch.vcxproj index e15cd0f9c..33a1f0a3f 100644 --- a/dep/soundtouch/soundtouch.vcxproj +++ b/dep/soundtouch/soundtouch.vcxproj @@ -41,8 +41,9 @@ TurnOffAllWarnings - SOUNDTOUCH_FLOAT_SAMPLES;SOUNDTOUCH_ALLOW_SSE;%(PreprocessorDefinitions) + SOUNDTOUCH_FLOAT_SAMPLES;%(PreprocessorDefinitions) SOUNDTOUCH_USE_NEON;%(PreprocessorDefinitions) + SOUNDTOUCH_ALLOW_SSE;%(PreprocessorDefinitions) $(ProjectDir)include;$(ProjectDir)source;%(AdditionalIncludeDirectories) diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index fec06d1df..f555733b3 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -89,7 +89,7 @@ add_library(common target_include_directories(common PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..") target_include_directories(common PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/..") target_link_libraries(common PUBLIC fmt Threads::Threads vulkan-headers) -target_link_libraries(common PRIVATE glad stb libchdr glslang zlib minizip samplerate "${CMAKE_DL_LIBS}") +target_link_libraries(common PRIVATE glad stb libchdr glslang zlib minizip "${CMAKE_DL_LIBS}") if(WIN32) target_sources(common PRIVATE diff --git a/src/util/CMakeLists.txt b/src/util/CMakeLists.txt index c64ba512a..81a33f703 100644 --- a/src/util/CMakeLists.txt +++ b/src/util/CMakeLists.txt @@ -42,4 +42,4 @@ add_library(util target_include_directories(util PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..") target_include_directories(util PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/..") target_link_libraries(util PUBLIC common simpleini) -target_link_libraries(util PRIVATE libchdr samplerate zlib soundtouch) +target_link_libraries(util PRIVATE libchdr zlib soundtouch)