diff options
author | ShizZy <shizzy@6bit.net> | 2013-09-14 00:11:14 +0200 |
---|---|---|
committer | ShizZy <shizzy@6bit.net> | 2013-09-14 00:11:14 +0200 |
commit | b8ca09160b39120d1f55a2016cb652810dbd5619 (patch) | |
tree | c831cd66f94e45421f755986e2ffe8b64323d976 /src/citrus/CMakeLists.txt | |
parent | added scm_rev_gen project to automatically create a header with the git revision on build (diff) | |
download | yuzu-b8ca09160b39120d1f55a2016cb652810dbd5619.tar yuzu-b8ca09160b39120d1f55a2016cb652810dbd5619.tar.gz yuzu-b8ca09160b39120d1f55a2016cb652810dbd5619.tar.bz2 yuzu-b8ca09160b39120d1f55a2016cb652810dbd5619.tar.lz yuzu-b8ca09160b39120d1f55a2016cb652810dbd5619.tar.xz yuzu-b8ca09160b39120d1f55a2016cb652810dbd5619.tar.zst yuzu-b8ca09160b39120d1f55a2016cb652810dbd5619.zip |
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 @@ +set(SRCS src/citrus.cpp + src/emuwindow/emuwindow_glfw.cpp) + +# NOTE: This is a workaround for CMake bug 0006976 (missing X11_xf86vmode_LIB variable) +if (NOT X11_xf86vmode_LIB) + set(X11_xv86vmode_LIB Xxf86vm) +endif() + +add_executable(citrus ${SRCS}) +target_link_libraries(citrus core common ${OPENGL_LIBRARIES} ${GLFW_LIBRARIES} GLEW rt ${X11_Xrandr_LIB} ${X11_xv86vmode_LIB}) + +#install(TARGETS citrus RUNTIME DESTINATION ${bindir}) |