Use relative paths for CMake package config files · neomatrixcode/aws-lambda-cpp@0ce4d7a · GitHub
Skip to content

Commit 0ce4d7a

Browse files
committed
Use relative paths for CMake package config files
Using relative paths in the 'install' command results in a CMake target file that does not contain hard-coded/machine dependent absolute paths to the binary library file. This is useful when building and installing the library on one machine then copying the installed files to be consumed on another machine. A common practice when using distributed builds.
1 parent fcbfc91 commit 0ce4d7a

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

CMakeLists.txt

Lines changed: 6 additions & 6 deletions

ci/codebuild/build.sh

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)