You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-auth/pam-csync/files/pam-csync-0.42.0-cmake.patch

26 lines
675 B

From 21dfcf6343cec2feb0e4ebd8b9e22a3aa39e5d9d Mon Sep 17 00:00:00 2001
From: Jim McDonough <jmcd@samba.org>
Date: Mon, 10 Mar 2014 10:16:28 -0400
Subject: [PATCH 1/2] Remove backward compatibility option for newer cmake
builds to work.
---
src/CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6732a3f..40225e4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -41,7 +41,6 @@ include_directories(
${PAM_CSYNC_PRIVATE_INCLUDE_DIRS}
)
-set(CMAKE_BACKWARDS_COMPATIBILITY "2.2")
macro_add_plugin(${PAM_CSYNC_LIBRARY} ${pam_SRCS})
target_link_libraries(${PAM_CSYNC_LINK_LIBRARIES})
--
1.8.4.5