projects
/
platform
/
upstream
/
ejdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
045d161
)
Work around a bug in CMake's CPack and install files correctly
author
Łukasz Stelmach
<l.stelmach@samsung.com>
Tue, 16 May 2017 12:34:41 +0000
(14:34 +0200)
committer
Łukasz Stelmach
<l.stelmach@samsung.com>
Tue, 16 May 2017 12:38:32 +0000
(14:38 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
3fa114f
..
efe88de
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-71,6
+71,12
@@
else()
set(PACKAGE_DEB ON)
endif()
+if (CMAKE_VERSION VERSION_LESS 3.8.2)
+ if(NOT DEFINED CPACK_PACKAGING_INSTALL_PREFIX)
+ set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+ endif()
+endif()
+
set(CPACK_GENERATORS)
if (PACKAGE_TGZ)
list(APPEND CPACK_GENERATORS "TGZ")