]> Creatis software - crea.git/commitdiff
*** empty log message ***
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 1 Jul 2011 06:45:28 +0000 (06:45 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 1 Jul 2011 06:45:28 +0000 (06:45 +0000)
cmake/CREAMacro_AddLibrary.cmake

index ae0dce1fa9ac8f86ae449761ebecc4b97752737f..7f823e78f11fdc5e4fa7904c00b598abd2879733 100644 (file)
@@ -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)