cmake: Install cmake config to the correct directory.
authorAndreas Schneider <asn@cryptomilk.org>
Wed, 16 Apr 2014 13:46:10 +0000 (15:46 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 16 Apr 2014 13:46:10 +0000 (15:46 +0200)
CMakeLists.txt

index 5ad765b..3842f5c 100644 (file)
@@ -74,7 +74,7 @@ install(
         ${CMAKE_CURRENT_BINARY_DIR}/cmocka-config.cmake
         ${CMAKE_CURRENT_BINARY_DIR}/cmocka-config-version.cmake
     DESTINATION
-        ${CMAKE_INSTALL_DIR}
+        ${CMAKE_INSTALL_DIR}/cmocka
     COMPONENT
         devel
 )