pkubat / rpms / rdkit

Forked from rpms/rdkit 5 years ago
Clone
Blob Blame History Raw
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa5aff0..d69369c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,7 +81,7 @@ endif()
 
 # defines macros: rdkit_python_extension, rdkit_test
 include(RDKitUtils)
-install(EXPORT ${RDKit_EXPORTED_TARGETS} DESTINATION ${RDKit_LibDir})
+install(EXPORT ${RDKit_EXPORTED_TARGETS} DESTINATION ${RDKit_LibDir}/cmake)
 
 # create and install package configuration and version files
 configure_file (
@@ -95,7 +95,7 @@ configure_file (
 install(FILES
     ${RDKit_BINARY_DIR}/rdkit-config.cmake
     ${RDKit_BINARY_DIR}/rdkit-config-version.cmake
-    DESTINATION ${RDKit_LibDir})
+    DESTINATION ${RDKit_LibDir}/cmake)
 
 # extra boost versions
 if(MSVC)