Fix a few more linkage issues in the cmake build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6537 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e2543689b8
commit
2caa685c7f
|
@ -46,7 +46,7 @@ endif()
|
|||
add_library(videocommon STATIC ${SRCS})
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
if(ENCODE_FRAMEDUMPS)
|
||||
target_link_libraries(videocommon avcodec avformat swscale)
|
||||
target_link_libraries(videocommon avcodec avformat swscale avutil)
|
||||
add_definitions(-D__STDC_CONSTANT_MACROS)
|
||||
endif()
|
||||
add_definitions(-fPIC)
|
||||
|
|
|
@ -33,7 +33,8 @@ set(LIBS videocommon
|
|||
SOIL
|
||||
common
|
||||
${OPENGL_LIBRARIES}
|
||||
${X11_LIBRARIES})
|
||||
${X11_LIBRARIES}
|
||||
${wxWidgets_LIBRARIES})
|
||||
|
||||
if((${CMAKE_SYSTEM_NAME} MATCHES "Darwin") AND NOT wxWidgets_FOUND)
|
||||
set(SRCS ${SRCS} Src/cocoaGL.m)
|
||||
|
|
Loading…
Reference in New Issue