Add the last few languages added to the windows build.

Make pthreads linkage precise for the nowx build.  Fixes issue 3875.
Fall back to pkg-config for gtk+-2.0 if cmake is version 2.8.2.  That version has a bug that doesn't detect gdk-pixbuf-2.0.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6810 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2011-01-11 02:18:34 +00:00
parent de40765504
commit 9bbed569d9
3 changed files with 25 additions and 4 deletions

View File

@ -362,9 +362,18 @@ if(NOT DISABLE_WX)
include(${wxWidgets_USE_FILE})
if(UNIX AND NOT APPLE)
include(FindGTK2)
if(GTK2_FOUND)
include_directories(${GTK2_INCLUDE_DIRS})
# There is a bug in the FindGTK module in cmake version 2.8.2 that
# does not find gdk-pixbuf-2.0. On the other hand some 2.8.3
# users have complained that pkg-config does not find
# gdk-pixbuf-2.0
if(${CMAKE_VERSION_MAJOR}.${CMAKE_VERSION_MINOR}.${CMAKE_VERSION_PATCH}
VERSION_EQUAL 2.8.2)
check_lib(GTK2 gtk+-2.0 gtk.h REQUIRED)
else()
include(FindGTK2 REQUIRED)
if(GTK2_FOUND)
include_directories(${GTK2_INCLUDE_DIRS})
endif()
endif()
endif()

View File

@ -78,6 +78,10 @@
RelativePath=".\de.po"
>
</File>
<File
RelativePath=".\el.po"
>
</File>
<File
RelativePath=".\en.po"
>
@ -98,6 +102,10 @@
RelativePath=".\it.po"
>
</File>
<File
RelativePath=".\ja.po"
>
</File>
<File
RelativePath=".\ko.po"
>
@ -106,6 +114,10 @@
RelativePath=".\nb.po"
>
</File>
<File
RelativePath=".\nl.po"
>
</File>
<File
RelativePath=".\pl.po"
>

View File

@ -44,7 +44,7 @@ endif(WIN32)
enable_precompiled_headers(Src/stdafx.h Src/stdafx.cpp SRCS)
add_library(common STATIC ${SRCS})
target_link_libraries(common ${CMAKE_DL_LIBS})
target_link_libraries(common ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT})
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_definitions(-fPIC)
endif()