aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/libmemif/CMakeLists.txt3
-rw-r--r--extras/libmemif/cmake/Modules/Packaging.cmake12
2 files changed, 7 insertions, 8 deletions
diff --git a/extras/libmemif/CMakeLists.txt b/extras/libmemif/CMakeLists.txt
index 5ac2b7e1b..11c87fe12 100644
--- a/extras/libmemif/CMakeLists.txt
+++ b/extras/libmemif/CMakeLists.txt
@@ -34,8 +34,7 @@ ExternalProject_Add(libmemif
LIST_SEPARATOR |
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MODULE_PATH=${MODULE_PATH}
SOURCE_SUBDIR ./extras/libmemif
- BUILD_COMMAND make package
- INSTALL_COMMAND make DESTDIR=${DESTDIR} install
+ BUILD_COMMAND ${CMAKE_COMMAND} --build . -- package
)
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
diff --git a/extras/libmemif/cmake/Modules/Packaging.cmake b/extras/libmemif/cmake/Modules/Packaging.cmake
index 50f820589..7f6d53ceb 100644
--- a/extras/libmemif/cmake/Modules/Packaging.cmake
+++ b/extras/libmemif/cmake/Modules/Packaging.cmake
@@ -15,30 +15,30 @@
# Packages section
######################
-set(${LIBMEMIF}_DESCRIPTION
+set(lib${LIBMEMIF}_DESCRIPTION
"Libmemif, shared memory interface"
CACHE STRING "Description for deb/rpm package."
)
-set(${LIBMEMIF}_DEB_DEPENDENCIES
+set(lib${LIBMEMIF}_DEB_DEPENDENCIES
"" CACHE STRING "Dependencies for deb/rpm package."
)
-set(${LIBMEMIF}_RPM_DEPENDENCIES
+set(lib${LIBMEMIF}_RPM_DEPENDENCIES
"" CACHE STRING "Dependencies for deb/rpm package."
)
-set(${LIBMEMIF}-dev_DESCRIPTION
+set(lib${LIBMEMIF}-dev_DESCRIPTION
"Libmemif, shared memory interface header files"
CACHE STRING "Description for deb/rpm package."
)
-set(${LIBMEMIF}-dev_DEB_DEPENDENCIES
+set(lib${LIBMEMIF}-dev_DEB_DEPENDENCIES
"libmemif (>= stable_version)"
CACHE STRING "Dependencies for deb/rpm package."
)
-set(${LIBMEMIF}-dev_RPM_DEPENDENCIES
+set(lib${LIBMEMIF}-dev_RPM_DEPENDENCIES
"libmemif (>= stable_version)"
CACHE STRING "Dependencies for deb/rpm package."
)