diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index a7f72d95..ca404b8f 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -190,6 +190,7 @@ if( WITH_CDPARANOIA ) CDPARANOIA_INCLUDE_DIR ) if( CDPARANOIA_FOUND ) + tde_save_and_set( CMAKE_REQUIRED_INCLUDES ${CDPARANOIA_INCLUDE_DIR} ) check_c_source_compiles( " #include <cdda_interface.h> int main() { @@ -198,6 +199,7 @@ if( WITH_CDPARANOIA ) return 0; }" CDPARANOIA_DEVICE_NAME ) + tde_restore( CMAKE_REQUIRED_INCLUDES ) if( NOT CDPARANOIA_DEVICE_NAME ) tde_message_fatal( "CDParanoia is too old and can not be used" ) endif( ) |