From: Eduardo Davila Date: Fri, 1 Jul 2011 06:45:28 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1db04f1562c2c3f4fcc6de12c8eb89f2d9ba9cc7;p=crea.git *** empty log message *** --- diff --git a/cmake/CREAMacro_AddLibrary.cmake b/cmake/CREAMacro_AddLibrary.cmake index ae0dce1..7f823e7 100644 --- a/cmake/CREAMacro_AddLibrary.cmake +++ b/cmake/CREAMacro_AddLibrary.cmake @@ -45,4 +45,10 @@ ELSE(WIN32) DESTINATION ${CMAKE_CREA_LIB_PATH} ) ENDIF(WIN32) +#EED 01/July/2011 +IF (UNIX) + add_definitions(-fPIC) +ENDIF(UNIX) + + ENDMACRO(CREA_ADD_LIBRARY)