mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
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:
parent
de40765504
commit
9bbed569d9
@ -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()
|
||||
|
||||
|
@ -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"
|
||||
>
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user