traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso CMakeLists.txt


From: Ben Levitt
Subject: [Traverso-commit] traverso CMakeLists.txt
Date: Fri, 13 Mar 2009 23:08:26 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Ben Levitt <benjie>     09/03/13 23:08:26

Modified files:
        .              : CMakeLists.txt 

Log message:
        Add support for building in a Mac environment using 
DarwinPorts/MacPorts for installing dependencies
        (Nicola, please test, and let me know if you think I should revert 
this.  Thanks!)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/CMakeLists.txt?cvsroot=traverso&r1=1.35&r2=1.36

Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/traverso/traverso/CMakeLists.txt,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- CMakeLists.txt      13 Mar 2009 16:00:43 -0000      1.35
+++ CMakeLists.txt      13 Mar 2009 23:08:26 -0000      1.36
@@ -86,6 +86,15 @@
 SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/lib)
 
 
+# Add Mac build paths for DarwinPorts / MacPorts
+# These need to be defined up here, above the include checks
+IF(APPLE)
+       INCLUDE_DIRECTORIES("/opt/local/include")
+       SET (CMAKE_REQUIRED_INCLUDES "/opt/local/include")
+       LINK_DIRECTORIES("/opt/local/lib")
+ENDIF(APPLE)
+
+
 SET(MINIMAL_ALSA_VERSION 1.0.0)
 SET(MINIMAL_JACK_VERSION 0.100)
 SET(MINIMAL_PORTAUDIO_VERSION 19)
@@ -360,7 +369,6 @@
        
 #BEGIN Mac OS X section
        IF(APPLE)
-       
        # Detect if we want native Mac OS X support (CoreAudio)
        # and if we can build with it.
        IF(WANT_COREAUDIO)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]