You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.5 KiB
56 lines
1.5 KiB
8 years ago
|
#################################################
|
||
|
#
|
||
|
# (C) 2017 Slávek Banko
|
||
|
# slavek (DOT) banko (AT) axis.cz
|
||
|
#
|
||
|
# Improvements and feedback are welcome
|
||
|
#
|
||
|
# This file is released under GPL >= 2
|
||
|
#
|
||
|
#################################################
|
||
|
|
||
|
if( "${CMAKE_SYSTEM_NAME}" MATCHES "IRIX" )
|
||
|
# IRIX cdaudio
|
||
|
if( NOT CDAUDIO )
|
||
|
message( STATUS "Checking for cdaudio library" )
|
||
|
find_library( CDAUDIO cdaudio )
|
||
|
if( CDAUDIO )
|
||
|
message( STATUS "Checking for cdaudio library - found" )
|
||
|
set( CDAUDIO_LIBRARIES "cdaudio;mediad;ds" )
|
||
|
else( )
|
||
|
message( STATUS "Checking for cdaudio library - not found" )
|
||
|
endif( )
|
||
|
endif( NOT CDAUDIO )
|
||
|
|
||
|
# Irix CDDA
|
||
|
if( NOT FPE )
|
||
|
message( STATUS "Checking for fpe library" )
|
||
|
find_library( FPE fpe )
|
||
|
if( FPE )
|
||
|
message( STATUS "Checking for fpe library - found" )
|
||
|
set( FPE_LIBRARIES "fpe" )
|
||
|
else( )
|
||
|
message( STATUS "Checking for fpe library - not found" )
|
||
|
endif( )
|
||
|
endif( NOT FPE )
|
||
|
endif( "${CMAKE_SYSTEM_NAME}" MATCHES "IRIX" )
|
||
|
|
||
|
# FreeBSD
|
||
|
if( "${CMAKE_SYSTEM_NAME}" MATCHES "FreeBSD" )
|
||
|
if( NOT CDROM )
|
||
|
message( STATUS "Checking for cdrom library" )
|
||
|
find_library( CDROM cdrom )
|
||
|
if( CDROM )
|
||
|
message( STATUS "Checking for cdrom library - found" )
|
||
|
set( CDROM_LIBRARIES "cdrom" )
|
||
|
else( )
|
||
|
message( STATUS "Checking for cdrom library - not found" )
|
||
|
endif( CDROM )
|
||
|
endif( NOT CDROM )
|
||
|
endif( "${CMAKE_SYSTEM_NAME}" MATCHES "FreeBSD" )
|
||
|
|
||
|
# aRts
|
||
|
if( ARTS_FOUND )
|
||
|
set( USE_ARTS 1 CACHE INTERNAL "" FORCE )
|
||
|
endif( ARTS_FOUND )
|