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:
Glenn Rice 2010-11-05 23:38:37 +00:00
parent f2f0f373a6
commit 7864f3c087
2 changed files with 5 additions and 2 deletions

View File

@ -51,9 +51,9 @@ endif(VISIBILITY_HIDDEN)
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
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)
endif (NOT CMAKE_BUILD_TYPE)
endif(NOT CMAKE_BUILD_TYPE)
if(CMAKE_BUILD_TYPE STREQUAL Debug)
add_definitions(-D_DEBUG -ggdb)

View File

@ -4,3 +4,6 @@ set(SRCS image_DXT.c
stb_image_aug.c)
add_library(SOIL STATIC ${SRCS})
if(UNIX)
add_definitions(-fPIC)
endif(UNIX)