mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix for issue 3507. Compile with old GLEW versions, support user-specified CFLAGS and link plugins to all the used libs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6441 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -16,12 +16,15 @@ set(LIBS videocommon
|
||||
SOIL
|
||||
common
|
||||
Cg
|
||||
CgGL)
|
||||
CgGL
|
||||
${OPENGL_LIBRARIES}
|
||||
${X11_LIBRARIES})
|
||||
|
||||
if(wxWidgets_FOUND)
|
||||
set(SRCS ${SRCS}
|
||||
Src/Debugger/Debugger.cpp)
|
||||
set(LIBS videouicommon ${LIBS})
|
||||
set(LIBS ${LIBS} ${wxWidgets_LIBRARIES})
|
||||
endif(wxWidgets_FOUND)
|
||||
|
||||
if((${CMAKE_SYSTEM_NAME} MATCHES "Darwin") AND NOT wxWidgets_FOUND)
|
||||
@ -32,7 +35,7 @@ elseif(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
|
||||
set(LIBS ${LIBS} clrun)
|
||||
endif()
|
||||
|
||||
add_library(Plugin_VideoOGL SHARED ${SRCS})
|
||||
add_library(Plugin_VideoOGL MODULE ${SRCS})
|
||||
target_link_libraries(Plugin_VideoOGL ${LIBS})
|
||||
install(TARGETS Plugin_VideoOGL
|
||||
LIBRARY DESTINATION ${plugindir}
|
||||
|
Reference in New Issue
Block a user