mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
For all h3d ports: * Bumped up version numbers and checksums * Updated to cmake 1.1 portgroup * Removed all previous patches * Added size parameter For h3dapi: * Added patch to properly locate audiofile include dir * Added build args to prevent h3dload/h3dviewer from being built
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
--- 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
|