Skip to content

Commit 6832328

Browse files
authored
Merge pull request #1378 from rprasanth/maint-1.3
openscap: Link to CAP_LIBRARIES if found
2 parents 8b9eace + 95697a5 commit 6832328

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ endif()
118118
if(ACL_FOUND)
119119
target_link_libraries(openscap ${ACL_LIBRARY})
120120
endif()
121+
if(CAP_FOUND)
122+
target_link_libraries(openscap ${CAP_LIBRARIES})
123+
endif()
121124

122125
if(WIN32)
123126
set(OPENSCAP_INSTALL_DESTINATION ".")

0 commit comments

Comments
 (0)