nixpkgs/pkgs/tools/filesystems/dislocker/cmake_dirfix.patch

14 lines
361 B
Diff
Raw Normal View History

2016-06-21 01:58:04 +02:00
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 365903a..f126ade 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -149,7 +149,7 @@ if(NOT DEFINED bindir)
endif()
string (TOLOWER "${CMAKE_SYSTEM_NAME}" SYSNAME)
-set (DIS_MAN ../man/${SYSNAME})
+set (DIS_MAN ${PROJECT_SOURCE_DIR}/man/${SYSNAME})
# RPATH handling
if(POLICY CMP0042)