Lines 16-21
Link Here
|
16 |
#CB SET(CMAKE_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM}") |
16 |
#CB SET(CMAKE_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM}") |
17 |
# 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 |
17 |
# 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 |
18 |
|
18 |
|
|
|
19 |
IF (ARCH_X86_64 EQUAL 1) |
20 |
SET(CMAKE_CXX_FLAGS "$(CMAKE_CXX_FLAGS) -fPIC") |
21 |
ENDIF (ARCH_X86_64 EQUAL 1) |
22 |
|
19 |
OPTION(2GEOM_BUILD_SHARED |
23 |
OPTION(2GEOM_BUILD_SHARED |
20 |
"Build lib2geom and libtoy as shared libraries." |
24 |
"Build lib2geom and libtoy as shared libraries." |
21 |
OFF) |
25 |
OFF) |
Lines 112-115
Link Here
|
112 |
#CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/2geom.pc.in |
116 |
#CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/2geom.pc.in |
113 |
# ${CMAKE_BINARY_DIR}/2geom.pc @ONLY IMMEDIATE ) |
117 |
# ${CMAKE_BINARY_DIR}/2geom.pc @ONLY IMMEDIATE ) |
114 |
#INSTALL(FILES "${CMAKE_BINARY_DIR}/2geom.pc" DESTINATION lib/pkgconfig) |
118 |
#INSTALL(FILES "${CMAKE_BINARY_DIR}/2geom.pc" DESTINATION lib/pkgconfig) |
115 |
# |
119 |
# |