mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-12 19:31:47 +00:00
Merge pull request #830 from Chekov2k/python_libs
Link against Python libraries for compatibility with pybind11 >= v2.13
This commit is contained in:
commit
c0f93b1c9c
@ -14,6 +14,7 @@ set(NAME_LENGTH 128 CACHE STRING "The length of a name in the buffer")
|
|||||||
|
|
||||||
pybind11_add_module(TracyClientBindings SHARED bindings/Module.cpp)
|
pybind11_add_module(TracyClientBindings SHARED bindings/Module.cpp)
|
||||||
target_link_libraries(TracyClientBindings PUBLIC TracyClient)
|
target_link_libraries(TracyClientBindings PUBLIC TracyClient)
|
||||||
|
target_link_libraries(TracyClientBindings PUBLIC ${Python_LIBRARIES})
|
||||||
target_compile_definitions(TracyClientBindings PUBLIC BUFFER_SIZE=${BUFFER_SIZE})
|
target_compile_definitions(TracyClientBindings PUBLIC BUFFER_SIZE=${BUFFER_SIZE})
|
||||||
target_compile_definitions(TracyClientBindings PUBLIC NAME_LENGTH=${NAME_LENGTH})
|
target_compile_definitions(TracyClientBindings PUBLIC NAME_LENGTH=${NAME_LENGTH})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user