--- build/modules/FindAudiofile.org.cmake 2019-01-30 08:16:11.000000000 +0100 +++ build/modules/FindAudiofile.cmake 2019-04-12 10:03:52.000000000 +0200 @@ -13,6 +13,9 @@ include( H3DCommonFindModuleFunctions ) get_filename_component( module_file_path ${CMAKE_CURRENT_LIST_FILE} PATH ) getExternalSearchPathsH3D( module_include_search_paths module_lib_search_paths ${module_file_path} "libaudiofile" ) + +set( old_CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK} ) +set( CMAKE_FIND_FRAMEWORK NEVER ) # Look for the header file. find_path( Audiofile_INCLUDE_DIR NAMES audiofile.h @@ -40,4 +43,6 @@ # Backwards compatibility values set here. set( AUDIOFILE_INCLUDE_DIR ${Audiofile_INCLUDE_DIRS} ) set( AUDIOFILE_LIBRARIES ${Audiofile_LIBRARIES} ) -set( Audiofile_FOUND ${AUDIOFILE_FOUND} ) # find_package_handle_standard_args for CMake 2.8 only define the upper case variant. \ No newline at end of file +set( Audiofile_FOUND ${AUDIOFILE_FOUND} ) # find_package_handle_standard_args for CMake 2.8 only define the upper case variant. + +set( CMAKE_FIND_FRAMEWORK ${old_CMAKE_FIND_FRAMEWORK} ) \ No newline at end of file