projects
/
project
/
ucert.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46eec66
)
set rpath to make bundle-libraries.sh happy
author
Daniel Golle
<daniel@makrotopia.org>
Mon, 6 Aug 2018 15:23:46 +0000
(17:23 +0200)
committer
Daniel Golle
<daniel@makrotopia.org>
Mon, 6 Aug 2018 15:43:46 +0000
(17:43 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index a44ff234e08ea0564f6cfabe595ea009b4975fc3..4c81184caf82310d51a3797506a02b96f7d5db43 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-11,6
+11,11
@@
IF(UCERT_HOST_BUILD)
ADD_DEFINITIONS(-DUCERT_HOST_BUILD)
ENDIF()
+IF(USE_RPATH)
+SET(CMAKE_INSTALL_RPATH "${USE_RPATH}")
+SET(CMAKE_MACOSX_RPATH 1)
+ENDIF()
+
ADD_EXECUTABLE(ucert ucert.c usign-exec.c)
IF(UCERT_FULL)
ADD_DEFINITIONS(-DUCERT_FULL)