Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,10 @@ install(TARGETS libnyquist
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
)
# NOTE: the install interface include dir is declared once, via
# $<INSTALL_INTERFACE:include> in target_include_directories() above. Do not also
# pass INCLUDES DESTINATION here or it lands in INTERFACE_INCLUDE_DIRECTORIES twice.

# install the cmake configuration files
install(EXPORT libnyquist
Expand All @@ -248,7 +250,10 @@ install(EXPORT libnyquist

message(STATUS "CMAKE_INSTALL_INCLUDEDIR: ${CMAKE_INSTALL_INCLUDEDIR}")

# todo, install the headers
# install the public headers so an installed libnyquist is usable by consumers
# (matches the $<INSTALL_INTERFACE:include> above: #include <libnyquist/...>)
install(DIRECTORY "${LIBNYQUIST_ROOT}/include/libnyquist"
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")

# export the targets for use when libnyquist is included as a subproject
export(TARGETS libnyquist
Expand Down
4 changes: 2 additions & 2 deletions third_party/rtaudio/RtAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10119,8 +10119,8 @@ void RtApi :: convertBuffer( char *outBuffer, char *inBuffer, ConvertInfo &info

void RtApi :: byteSwapBuffer( char *buffer, unsigned int samples, RtAudioFormat format )
{
register char val;
register char *ptr;
char val;
char *ptr;

ptr = buffer;
if ( format == RTAUDIO_SINT16 ) {
Expand Down
Loading