changeset 2585:8ae846333fa7

Add a fPIC flag to enable reuse of the library once compiled. fPIC stands for position independent code.
author Haz-Edine Assemlal <haz-edine@assemlal.com>
date Mon, 05 Mar 2012 18:11:43 -0500
parents f139eafe48ce
children 7bbd8d45bb11
files CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -90,6 +90,7 @@
 
 
 ADD_DEFINITIONS(-DHAVE_CONFIG_H)
+ADD_DEFINITIONS(-fPIC)
 
 # aliases
 SET(VERSION "${PACKAGE_VERSION}")