Skip to content
Permalink
Browse files

Merge pull request #48 from Rovanion/patch-1

Removed the unsetting of ${libPortAudioCpp}
  • Loading branch information...
alliekins committed Feb 28, 2015
2 parents e97c4bb + 44ec8ec commit 1a169895a900c9fc4841c556e16514182b75faf8
Showing with 4 additions and 6 deletions.
  1. +4 −6 CmakeIncludes/FindPortAudio.cmake
@@ -15,16 +15,14 @@ find_path(PORTAUDIO_INCLUDE_DIR portaudio.h
)



# finally the library itself
# Finally the library itself.
find_library(libPortAudio NAMES portaudio)
find_library(libPortAudioCpp NAMES portaudiocpp)
set(libPortAudioCpp "")
set(PORTAUDIO_LIBRARIES ${libPortAudio} ${libPortAudioCpp})

# handle the QUIETLY and REQUIRED arguments and set PORTAUDIO_FOUND to TRUE if
# all listed variables are TRUE
# Handle the QUIETLY and REQUIRED arguments and set PORTAUDIO_FOUND to TRUE if
# all listed variables are TRUE.
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(PortAudio DEFAULT_MSG PORTAUDIO_LIBRARIES PORTAUDIO_INCLUDE_DIR)

mark_as_advanced(PORTAUDIO_LIBRARIES PORTAUDIO_INCLUDE_DIR)
mark_as_advanced(PORTAUDIO_LIBRARIES PORTAUDIO_INCLUDE_DIR)

0 comments on commit 1a16989

Please sign in to comment.
You can’t perform that action at this time.