diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b6ba2f..22bbc1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -17,13 +17,22 @@ find_package(portaudio REQUIRED) | |||
17 | find_package(libsndfile REQUIRED) | 17 | find_package(libsndfile REQUIRED) |
18 | find_package(libxml2 REQUIRED) | 18 | find_package(libxml2 REQUIRED) |
19 | 19 | ||
20 | IF(APPLE) | ||
21 | FIND_LIBRARY(COCOA_LIBRARY Cocoa) | ||
22 | FIND_LIBRARY(CV_LIBRARY CoreVideo) | ||
23 | FIND_LIBRARY(IO_LIBRARY IOKit) | ||
24 | MARK_AS_ADVANCED (COCOA_LIBRARY CV_LIBRARY IO_LIBRARY) | ||
25 | SET(EXTRA_LIBS ${COCOA_LIBRARY} ${CV_LIBRARY} ${IO_LIBRARY}) | ||
26 | ENDIF (APPLE) | ||
27 | |||
20 | set(ALL_LIBS | 28 | set(ALL_LIBS |
21 | ${OPENGL_LIBRARIES} | 29 | ${OPENGL_gl_LIBRARY} |
22 | ${GLEW_LIBRARIES} | 30 | ${GLEW_LIBRARIES} |
23 | ${GLFW_LIBRARIES} | 31 | ${GLFW_LIBRARIES} |
24 | ${PORTAUDIO_LIBRARIES} | 32 | ${PORTAUDIO_LIBRARIES} |
25 | ${LIBSNDFILE_LIBRARY} | 33 | ${LIBSNDFILE_LIBRARY} |
26 | ${LIBXML2_LIBRARIES} | 34 | ${LIBXML2_LIBRARIES} |
35 | ${EXTRA_LIBS} | ||
27 | ) | 36 | ) |
28 | 37 | ||
29 | include_directories( | 38 | include_directories( |