mirror of
https://github.com/RPCS3/soundtouch.git
synced 2024-11-09 12:22:51 +01:00
Merge branch 'cmake-openmp' into 'master'
CMake: Add option for OpenMP See merge request soundtouch/soundtouch!24
This commit is contained in:
commit
b9afe0ac11
@ -71,6 +71,12 @@ if(${NEON} AND ${NEON_CPU})
|
||||
target_compile_options(SoundTouch PRIVATE -mfpu=neon)
|
||||
endif()
|
||||
|
||||
find_package(OpenMP)
|
||||
option(OPENMP "Use parallel multicore calculation through OpenMP" OFF)
|
||||
if(OPENMP AND OPENMP_FOUND)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
|
||||
endif()
|
||||
|
||||
install(
|
||||
FILES
|
||||
include/BPMDetect.h
|
||||
|
Loading…
Reference in New Issue
Block a user