Fix the build with devtools and without sndfile
This commit is contained in:
parent
77a83561cf
commit
13a92b57fe
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ add_library(sfizz::cxxopts ALIAS sfizz_cxxopts)
|
||||||
target_include_directories(sfizz_cxxopts INTERFACE "external/cxxopts")
|
target_include_directories(sfizz_cxxopts INTERFACE "external/cxxopts")
|
||||||
|
|
||||||
# The sndfile library
|
# The sndfile library
|
||||||
if(SFIZZ_USE_SNDFILE OR SFIZZ_DEMOS OR SFIZZ_BENCHMARKS OR SFIZZ_RENDER)
|
if(SFIZZ_USE_SNDFILE OR SFIZZ_DEMOS OR SFIZZ_DEVTOOLS OR SFIZZ_BENCHMARKS OR SFIZZ_RENDER)
|
||||||
add_library(sfizz_sndfile INTERFACE)
|
add_library(sfizz_sndfile INTERFACE)
|
||||||
add_library(sfizz::sndfile ALIAS sfizz_sndfile)
|
add_library(sfizz::sndfile ALIAS sfizz_sndfile)
|
||||||
if(SFIZZ_USE_VCPKG OR CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
if(SFIZZ_USE_VCPKG OR CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue