File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ endif()
92
92
find_package (Blkid)
93
93
if (BLKID_FOUND)
94
94
check_library_exists("${BLKID_LIBRARY} " blkid_get_tag_value "" HAVE_BLKID_GET_TAG_VALUE)
95
+ include_directories ("${BLKID_INCLUDE_DIRS} " )
95
96
endif ()
96
97
97
98
find_package (Cap)
@@ -138,6 +139,7 @@ if(RPM_FOUND)
138
139
check_library_exists("${RPM_LIBRARY} " rpmFreeFilesystems "" HAVE_RPMFREEFILESYSTEMS)
139
140
check_library_exists("${RPM_LIBRARY} " rpmVerifyFile "" HAVE_RPMVERIFYFILE)
140
141
set (HAVE_RPMVERCMP 1)
142
+ include_directories ("${RPM_INCLUDE_DIRS} " )
141
143
endif ()
142
144
143
145
find_package (SELinux)
@@ -568,12 +570,26 @@ include_directories(
568
570
"src/XCCDF_POLICY/public/"
569
571
"yaml-filter/src/"
570
572
${CMAKE_BINARY_DIR} # config.h is generated to build directory
573
+ # Required dependencies include dirs can be added inconditionally
571
574
${LIBXML2_INCLUDE_DIR}
572
575
${XMLSEC_INCLUDE_DIRS}
576
+ ${LIBXSLT_INCLUDE_DIR}
573
577
${OPENSSL_INCLUDE_DIR}
574
578
${PCRE2_INCLUDE_DIRS}
575
579
)
576
580
581
+ if (GCRYPT_FOUND)
582
+ include_directories ("${GCRYPT_INCLUDE_DIRS} " )
583
+ endif ()
584
+
585
+ if (POPT_FOUND)
586
+ include_directories ("${POPT_INCLUDE_DIRS} " )
587
+ endif ()
588
+
589
+ if (SELINUX_FOUND)
590
+ include_directories ("${SELINUX_INCLUDE_DIRS} " )
591
+ endif ()
592
+
577
593
# Honor visibility properties for all target types
578
594
# Run "cmake --help-policy CMP0063" for policy details
579
595
if (POLICY CMP0063)
You can’t perform that action at this time.
0 commit comments