r14415 by cbradney - Backport #8605 to 1.3.6svn
scribus-commit
scribus-commit at lists.scribus.net
Mon Dec 14 22:50:22 CET 2009
Revision: 14415
Author: cbradney
Date: 2009-12-14T10:37:28.864929Z
Commit message: Backport #8605 to 1.3.6svn
Changeset:
M /branches/Version135/Scribus/scribus/plugins/tools/2geomtools/lib2geom/CMakeLists.txt
Diffs:
Index: scribus/plugins/tools/2geomtools/lib2geom/CMakeLists.txt
===================================================================
--- scribus/plugins/tools/2geomtools/lib2geom/CMakeLists.txt (revision 14414)
+++ scribus/plugins/tools/2geomtools/lib2geom/CMakeLists.txt (revision 14415)
@@ -15,6 +15,9 @@
#CB SET(CMAKE_CXX_FLAGS "-Wall")
#CB SET(CMAKE_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM}")
# We need to pass -fPIC only to lib2geom on amd64 - avoid it elsewhere see: http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3
+IF (ARCH_X86_64 EQUAL 1)
+ SET(CMAKE_CXX_FLAGS "$(CMAKE_CXX_FLAGS) -fPIC")
+ENDIF (ARCH_X86_64 EQUAL 1)
OPTION(2GEOM_BUILD_SHARED
"Build lib2geom and libtoy as shared libraries."
@@ -112,4 +115,4 @@
#CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/2geom.pc.in
# ${CMAKE_BINARY_DIR}/2geom.pc @ONLY IMMEDIATE )
#INSTALL(FILES "${CMAKE_BINARY_DIR}/2geom.pc" DESTINATION lib/pkgconfig)
-#
\ No newline at end of file
+#
More information about the scribus-commit
mailing list