]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: use selinux/devel/Makefile for building selinux policy
authorKefu Chai <kchai@redhat.com>
Thu, 30 Jun 2016 05:10:58 +0000 (13:10 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 30 Jun 2016 11:27:44 +0000 (19:27 +0800)
was using selinux/devel/include/Makefile, which was wrong.

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt

index acd4b38144986b8597cea3a6ba756388dc8e6cb6..9f549600f52c0189ed4ee3d343885712fa2b3666 100644 (file)
@@ -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")