diff options
author | Petteri Aimonen <jpa@github.mail.kapsi.fi> | 2018-10-24 19:43:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 19:43:10 +0300 |
commit | 9a90d68953e721dcb8d2362f82e4bf2b0de0b577 (patch) | |
tree | ca260e3082a1f12c8af92d415374e7de95e3170b /CMakeLists.txt | |
parent | 9c7e958ae084977e195c9a198d67cb9d3671eada (diff) | |
parent | fa16f72f4354eba27c8e182a033608298b8e60e5 (diff) |
Merge pull request #353 from mrostecki/cmakedir-libdir
cmake: Include CMAKE_INSTALL_LIBDIR in CMAKE_INSTALL_CMAKEDIR
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 56eed64..db0903d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ if(MSVC AND nanopb_MSVC_STATIC_RUNTIME) endif() if(NOT DEFINED CMAKE_INSTALL_CMAKEDIR) - set(CMAKE_INSTALL_CMAKEDIR "lib/cmake/nanopb") + set(CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/nanopb") endif() if(nanopb_BUILD_GENERATOR) |