mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
Missed a needed -fPIC.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6350 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f2f0f373a6
commit
7864f3c087
2 changed files with 5 additions and 2 deletions
|
@ -51,9 +51,9 @@ endif(VISIBILITY_HIDDEN)
|
||||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
|
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
|
||||||
|
|
||||||
if(NOT CMAKE_BUILD_TYPE)
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
set (CMAKE_BUILD_TYPE "Release" CACHE STRING
|
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
|
||||||
"Build type (Release/Debug/RelWithDebInfo/MinSizeRe)" FORCE)
|
"Build type (Release/Debug/RelWithDebInfo/MinSizeRe)" FORCE)
|
||||||
endif (NOT CMAKE_BUILD_TYPE)
|
endif(NOT CMAKE_BUILD_TYPE)
|
||||||
|
|
||||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||||
add_definitions(-D_DEBUG -ggdb)
|
add_definitions(-D_DEBUG -ggdb)
|
||||||
|
|
3
Externals/SOIL/CMakeLists.txt
vendored
3
Externals/SOIL/CMakeLists.txt
vendored
|
@ -4,3 +4,6 @@ set(SRCS image_DXT.c
|
||||||
stb_image_aug.c)
|
stb_image_aug.c)
|
||||||
|
|
||||||
add_library(SOIL STATIC ${SRCS})
|
add_library(SOIL STATIC ${SRCS})
|
||||||
|
if(UNIX)
|
||||||
|
add_definitions(-fPIC)
|
||||||
|
endif(UNIX)
|
||||||
|
|
Loading…
Add table
Reference in a new issue