Commit 90dc0a52 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf Committed by Hugo Beauzée-Luyssen

Cmake: fix compilation on some x11 systems

Signed-off-by: default avatarHugo Beauzée-Luyssen <beauze.h@gmail.com>
parent 91571762
......@@ -144,6 +144,10 @@ IF (NOT WIN32)
IF (APPLE) # Fails to link to Cocoa framework automatically
SET (VLMC_LIBS ${VLMC_LIBS}
${CMAKE_OSX_SYSROOT}/System/Library/Frameworks/Cocoa.framework)
ELSE (APPLE)
IF (WITH_GUI)
SET (VLMC_LIBS ${VLMC_LIBS} -lX11)
ENDIF (WITH_GUI)
ENDIF(APPLE)
INCLUDE(${QT_USE_FILE})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment