Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 5861cc3

Browse files
authored
Merge pull request #125 from abussy-aldebaran/topic/cmake
Remove absolute path for boost library in pkg-config file
2 parents 83d5cb9 + f2f0a8c commit 5861cc3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Remove absolute path for boost library in generated pkg-config file ([#125](https://github.com/Simple-Robotics/proxsuite-nlp/pull/125))
13+
1014
### Added
1115

1216
- `prox-solver.hpp`: Add more alternatives to the `HessianApprox` enum ([#92](https://github.com/Simple-Robotics/proxsuite-nlp/pull/92))

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,9 @@ if(BUILD_WITH_PROXSUITE_SUPPORT)
414414
endif()
415415

416416
pkg_config_append_libs(${PROJECT_NAME})
417-
pkg_config_append_boost_libs(${BOOST_REQUIRED_COMPONENTS})
417+
foreach(boostlib ${BOOST_REQUIRED_COMPONENTS})
418+
pkg_config_append_libs("boost_${boostlib}")
419+
endforeach()
418420
pkg_config_append_cflags("${CFLAGS_DEPENDENCIES}")
419421

420422
# Install catkin package.xml

0 commit comments

Comments
 (0)