[QGIS-trac] Re: [Quantum GIS] #768: A few lib paths wrong in OSX
Quantum GIS
qgis at qgis.org
Sat Oct 11 12:51:43 EDT 2008
#768: A few lib paths wrong in OSX
-----------------------------------------------------+----------------------
Reporter: kyngchaos | Owner: nobody
Type: defect | Status: new
Priority: major: does not work as expected | Milestone: Version 1.0.0
Component: Build/Install | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: OS X
Must_fix: Yes | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by kyngchaos):
... And the cmake_install.cmake's are generated from cmakelists, of
course...
for the python modules, which are missing the instal_name_tool... as an
example, the main qgis gui library, it has:
{{{
INSTALL(TARGETS qgis_gui
RUNTIME DESTINATION ${QGIS_BIN_DIR}
LIBRARY DESTINATION ${QGIS_LIB_DIR}
ARCHIVE DESTINATION ${QGIS_LIB_DIR})
}}}
I'm guessing that the cmake INSTALL LIBRARY and RUNTIME keywords tell
cmake to generate the install_name_tool steps on OSX. The python
cmakelists.txt only uses the FILES keyword:
{{{
INSTALL(FILES __init__.py ${CMAKE_CURRENT_BINARY_DIR}/qgisconfig.py
${BINDINGS_LIBS} DESTINATION ${SITE_PKG_PATH}/qgis)
}}}
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/768#comment:7>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list