Skip to content

Commit

Permalink
Remove graphical dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Apr 9, 2019
1 parent 7001b68 commit 70ba9fc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,11 @@ ELSE (WIN32)
SET_PROPERTY(GLOBAL PROPERTY JUCE_LINUX "JUCE_LINUX")
SET(EXTENSION "cpp")

find_package(X11 REQUIRED)
find_package(Freetype REQUIRED)
find_package(ZLIB REQUIRED)
find_package(ALSA REQUIRED)
include_directories(${X11_INCLUDE_DIR} ${FREETYPE_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${ALSA_INCLUDE_DIR})
include_directories(${ZLIB_INCLUDE_DIR} ${ALSA_INCLUDE_DIR})
ADD_DEFINITIONS(-DLINUX)
SET(JUCE_PLATFORM_SPECIFIC_LIBRARIES ${X11_LIBRARIES} ${FREETYPE_LIBRARIES} ${ZLIB_LIBRARIES} ${ALSA_LIBRARIES})
SET(JUCE_PLATFORM_SPECIFIC_LIBRARIES ${ZLIB_LIBRARIES} ${ALSA_LIBRARIES})
SET(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -std=c++11")
ENDIF(APPLE)
ENDIF(UNIX)
Expand Down

0 comments on commit 70ba9fc

Please sign in to comment.