mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:22:56 +08:00
Avoid build error _missing config.h_ on build of tools
This commit is contained in:
parent
6aae6ca3c0
commit
18c5c3f23b
@ -64,6 +64,10 @@ if(BUILD_TOOLS)
|
||||
target_link_libraries(${EXAMPLE_EXEC} PRIVATE aubio)
|
||||
target_compile_definitions(${EXAMPLE_EXEC} PRIVATE -DHAVE_WIN_HACKS=1)
|
||||
endforeach()
|
||||
# Create and add fake config.h to avoid build errors (file is generated for
|
||||
# cross-platform requirements in waf build-system)
|
||||
file(WRITE "${CMAKE_BINARY_DIR}/config.h" "")
|
||||
include_directories(${CMAKE_BINARY_DIR})
|
||||
|
||||
install(
|
||||
TARGETS ${EXAMPLE_EXECS}
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: aubio
|
||||
Version: 0.46~alpha
|
||||
Version: 0.46~alpha-1
|
||||
Description: Aubio is a tool designed for the extraction of annotations from audio signals. Its features include segmenting a sound file before each of its attacks, performing pitch detection, tapping the beat and producing midi streams from live audio.
|
||||
Build-Depends: ffmpeg, libsndfile, libogg, libflac, libvorbis
|
||||
|
@ -13,8 +13,8 @@ vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS_RELEASE
|
||||
#-DTOOLS_INSTALLDIR=tools/aubio
|
||||
-DBUILD_TOOLS=OFF
|
||||
-DTOOLS_INSTALLDIR=tools/aubio
|
||||
-DBUILD_TOOLS=ON
|
||||
OPTIONS_DEBUG
|
||||
-DDISABLE_INSTALL_HEADERS=1
|
||||
-DBUILD_TOOLS=OFF
|
||||
|
Loading…
x
Reference in New Issue
Block a user