diff options
Diffstat (limited to 'src/citrus/CMakeLists.txt')
| -rw-r--r-- | src/citrus/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/citrus/CMakeLists.txt b/src/citrus/CMakeLists.txt new file mode 100644 index 000000000..6858a5891 --- /dev/null +++ b/src/citrus/CMakeLists.txt | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | set(SRCS src/citrus.cpp | ||
| 2 | src/emuwindow/emuwindow_glfw.cpp) | ||
| 3 | |||
| 4 | # NOTE: This is a workaround for CMake bug 0006976 (missing X11_xf86vmode_LIB variable) | ||
| 5 | if (NOT X11_xf86vmode_LIB) | ||
| 6 | set(X11_xv86vmode_LIB Xxf86vm) | ||
| 7 | endif() | ||
| 8 | |||
| 9 | add_executable(citrus ${SRCS}) | ||
| 10 | target_link_libraries(citrus core common ${OPENGL_LIBRARIES} ${GLFW_LIBRARIES} GLEW rt ${X11_Xrandr_LIB} ${X11_xv86vmode_LIB}) | ||
| 11 | |||
| 12 | #install(TARGETS citrus RUNTIME DESTINATION ${bindir}) | ||