Skip to content

Commit

Permalink
#125: Fix binding cmake target name
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrepebay committed Feb 20, 2025
1 parent eace6ec commit f32edbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ nanobind_build_library(nanobind SHARED)
# target, called vttv as well; we want the python package to be called vttv too,
# thus the set_target_properties on OUTPUT_NAME.
nanobind_add_module(pyvttv ${PYTHON_BINDING_SRCS} tv.cc)
set_target_properties(${PYTHON_MODULE_TARGET} PROPERTIES OUTPUT_NAME "vttv")
set_target_properties(pyvttv PROPERTIES OUTPUT_NAME "vttv")

# .. Link it to necessary libraries
target_link_libraries(pyvttv PUBLIC ${VT_TV_LIBRARY_NS} ${JSON_LIBRARY} ${FMT_LIBRARY})
Expand Down

0 comments on commit f32edbb

Please sign in to comment.