Skip to content

Commit

Permalink
clean up cmake file
Browse files Browse the repository at this point in the history
  • Loading branch information
higherorderfunctor committed Nov 4, 2019
1 parent 466ffd8 commit 5368b0e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ pybind11_add_module(capi

# add the net-snmp library to the python module
target_link_libraries(capi
PRIVATE libnetsnmp
PUBLIC OpenSSL::Crypto
PRIVATE libnetsnmp OpenSSL::Crypto
)

# define dependencies
Expand Down Expand Up @@ -114,8 +113,7 @@ if(BUILD_TESTING)

# add test libraries to the test application
target_link_libraries(test_capi
PRIVATE Catch2::Catch2 pybind11::embed libnetsnmp gcov
PUBLIC OpenSSL::Crypto
PRIVATE Catch2::Catch2 pybind11::embed libnetsnmp gcov OpenSSL::Crypto
)

# add the test cases to CTest
Expand Down

0 comments on commit 5368b0e

Please sign in to comment.