Skip to content

Commit

Permalink
Fix pybind11 include check.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephbirkner committed Jul 18, 2024
1 parent 9adec61 commit 51dec73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ if (NOT TARGET httplib::httplib)
httplib INTERFACE OpenSSL::SSL ZLIB::ZLIB)
endif()

if(ZSWAG_BUILD_WHEELS AND NOT TARGET pybind11)
if(ZSWAG_BUILD_WHEELS AND NOT TARGET pybind11::pybind11)
find_package(pybind11 REQUIRED)
endif()

Expand Down

0 comments on commit 51dec73

Please sign in to comment.