Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@github.mail.kapsi.fi>2018-10-24 19:43:10 +0300
committerGitHub <noreply@github.com>2018-10-24 19:43:10 +0300
commit9a90d68953e721dcb8d2362f82e4bf2b0de0b577 (patch)
treeca260e3082a1f12c8af92d415374e7de95e3170b /CMakeLists.txt
parent9c7e958ae084977e195c9a198d67cb9d3671eada (diff)
parentfa16f72f4354eba27c8e182a033608298b8e60e5 (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.txt2
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)