-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use relative bin and lib install paths.
CMake's install will combine the relative path with the absolute path passed via CMAKE_INSTALL_PREFIX. This shouldn't be handled in CMakeLists.txt files. The state before resulted in absolute paths being used in citygmlConfig.cmake. That prohibits prebuilding the library and deploying it on other machines/paths.
- Loading branch information
Showing
4 changed files
with
9 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
prefix=${CMAKE_INSTALL_PREFIX} | ||
exec_prefix=${BIN_INSTALL_DIR} | ||
libdir=${LIB_INSTALL_DIR} | ||
exec_prefix=${CMAKE_INSTALL_BINDIR} | ||
libdir=${CMAKE_INSTALL_LIBDIR} | ||
includedir=${INCLUDE_INSTALL_DIR} | ||
|
||
Name: citygml | ||
Description: Read and Write CityGML files | ||
Requires: ${PKG_CONFIG_REQUIRES} | ||
Version: ${META_VERSION} | ||
Libs: -L${LIB_INSTALL_DIR} -lcitygml${LIBCITYGML_POSTFIX} | ||
Libs: -L${CMAKE_INSTALL_LIBDIR} -lcitygml${LIBCITYGML_POSTFIX} | ||
Cflags: -I${INCLUDE_INSTALL_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters