initialize CMAKE_INSTALL_NAME_DIR for Mac OSX

This commit is contained in:
Pedro Lopez-Cabanillas 2010-09-24 20:26:36 +00:00
parent bc9bc38229
commit ad23ded3e3

View file

@ -184,6 +184,7 @@ set ( COREMIDI_LIBS )
set ( DARWIN )
if ( ${CMAKE_SYSTEM} MATCHES "Darwin" )
set ( DARWIN 1 )
set ( CMAKE_INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} )
if ( enable-coreaudio )
check_include_file ( CoreAudio/AudioHardware.h COREAUDIO_FOUND )
if ( COREAUDIO_FOUND )