CMakeLists.txt 444 B

123456789101112
  1. set(SRCS src/citrus.cpp
  2. src/emuwindow/emuwindow_glfw.cpp)
  3. # NOTE: This is a workaround for CMake bug 0006976 (missing X11_xf86vmode_LIB variable)
  4. if (NOT X11_xf86vmode_LIB)
  5. set(X11_xv86vmode_LIB Xxf86vm)
  6. endif()
  7. add_executable(citrus ${SRCS})
  8. target_link_libraries(citrus core common ${OPENGL_LIBRARIES} ${GLFW_LIBRARIES} GLEW rt ${X11_Xrandr_LIB} ${X11_xv86vmode_LIB})
  9. #install(TARGETS citrus RUNTIME DESTINATION ${bindir})