Skip to content

Commit

Permalink
find OpenBabel package and link mofidtest and openbabel libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
dweber2022 committed Jul 9, 2024
1 parent 0490ecf commit 86c918c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ FetchContent_Declare(
)
FetchContent_MakeAvailable(googletest)

#
# Find and setup OpenBabel2.
#
find_package(OpenBabel2 REQUIRED)
include_directories(${OpenBabel2_INCLUDE_DIRS})

add_executable(
alltests
alltests.cpp
Expand All @@ -19,6 +25,8 @@ target_include_directories(
)
target_link_libraries(
alltests
mofidtest
openbabel
GTest::gtest_main
)

Expand Down

0 comments on commit 86c918c

Please sign in to comment.