Skip to content

Commit

Permalink
Merge pull request facebookarchive#48 from Rovanion/patch-1
Browse files Browse the repository at this point in the history
Removed the unsetting of ${libPortAudioCpp}
  • Loading branch information
alliekins committed Feb 28, 2015
2 parents e97c4bb + 44ec8ec commit 1a16989
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions CmakeIncludes/FindPortAudio.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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.