diff options
author | archshift <admin@archshift.com> | 2014-04-30 16:56:25 -0700 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-30 16:56:47 -0700 |
commit | a7f3ed003d03c79f83c1c354329e5ce47f6940e7 (patch) | |
tree | 76b0dd731d81ea91917f8a9c34c4e7c90db4f407 /src/citra/CMakeLists.txt | |
parent | 52377cf0d2e29143717898e82f09349d417da1a0 (diff) |
A bit of Cmake love
Diffstat (limited to 'src/citra/CMakeLists.txt')
-rw-r--r-- | src/citra/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt index 25f47689..ee3cb55c 100644 --- a/src/citra/CMakeLists.txt +++ b/src/citra/CMakeLists.txt @@ -3,12 +3,12 @@ set(SRCS citra.cpp set(HEADS citra.h resource.h) -# 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(citra ${SRCS} ${HEADS}) -target_link_libraries(citra core common video_core iconv pthread ${COREFOUNDATION_LIBRARY} ${OPENGL_LIBRARIES} ${GLEW_LIBRARY} ${GLFW_LIBRARIES}) + +if (APPLE) + target_link_libraries(citra core common video_core iconv pthread ${COREFOUNDATION_LIBRARY} ${OPENGL_LIBRARIES} ${GLEW_LIBRARY} ${GLFW_LIBRARIES}) +else() + target_link_libraries(citra core common video_core pthread ${OPENGL_LIBRARIES} ${GLEW_LIBRARY} ${GLFW_LIBRARIES}) +endif() #install(TARGETS citra RUNTIME DESTINATION ${bindir}) |