projects
/
libnitrokey.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a7209
)
fix-installation-paths
author
Scott Kitterman
<scott@kitterman.com>
Tue, 22 May 2018 04:44:38 +0000
(
05:44
+0100)
committer
Scott Kitterman
<scott@kitterman.com>
Tue, 22 May 2018 04:44:38 +0000
(
05:44
+0100)
Gbp-Pq: Name 0001-fix-installation-paths.patch
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 6487e5d8eddda566735d1a11471d5fd3065b91bb..98452d972dc16ae1898c1ab791b533092c1e4499 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-129,8
+129,6
@@
IF(NOT WIN32)
ELSE()
set(CMAKE_INSTALL_UDEVRULESDIR "${CMAKE_INSTALL_UDEVRULESDIR}/rules.d")
ENDIF()
- string(REGEX REPLACE "^/" "" CMAKE_INSTALL_UDEVRULESDIR "${CMAKE_INSTALL_UDEVRULESDIR}")
- string(REGEX REPLACE "^usr/" "" CMAKE_INSTALL_UDEVRULESDIR "${CMAKE_INSTALL_UDEVRULESDIR}") # usual prefix is usr/local
message(STATUS "Setting udev rules dir to ${CMAKE_INSTALL_UDEVRULESDIR}")
ENDIF()