From: Kefu Chai Date: Thu, 30 Jun 2016 05:10:58 +0000 (+0800) Subject: cmake: use selinux/devel/Makefile for building selinux policy X-Git-Tag: ses5-milestone5~549^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5850687875e15ee8f6605ca963aba9771f25140d;p=ceph.git cmake: use selinux/devel/Makefile for building selinux policy was using selinux/devel/include/Makefile, which was wrong. Signed-off-by: Kefu Chai --- diff --git a/CMakeLists.txt b/CMakeLists.txt index acd4b3814498..9f549600f52c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -367,7 +367,7 @@ find_package(Threads REQUIRED) option(WITH_SELINUX "build SELinux policy" OFF) if(WITH_SELINUX) - find_file(SELINUX_MAKEFILE selinux/devel/include/Makefile + find_file(SELINUX_MAKEFILE selinux/devel/Makefile PATH /usr/share) if(NOT SELINUX_MAKEFILE) message(FATAL_ERROR "Can't find selinux's Makefile")