Skip to content

Commit

Permalink
Another try for Windows build
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Feb 3, 2024
1 parent 42a6011 commit 9cc601a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/FindOpenBabel3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
# OpenBabel3_LIBRARY - The OpenBabel library
#
find_path(OpenBabel3_INCLUDE_DIR openbabel3/openbabel/babelconfig.h)
find_library(OpenBabel3_LIBRARY NAMES openbabel openbabel3)
if(OPENBABEL3_INCLUDE_DIR)
set(OPENBABEL3_INCLUDE_DIR ${OPENBABEL3_INCLUDE_DIR}/openbabel3)
endif()
find_library(OpenBabel3_LIBRARY NAMES openbabel openbabel3 openbabel-3)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(OpenBabel3 DEFAULT_MSG OpenBabel3_INCLUDE_DIR
Expand Down

0 comments on commit 9cc601a

Please sign in to comment.