Commit 5a56192e authored by Jørgen Lien Sellæg's avatar Jørgen Lien Sellæg
Browse files

use a more generic path

parent 9f26067d
add_definitions(-DPYTHON_PATH="/home/jorgels/src/python-meetup/pybind/embedded_example") add_definitions(-DPYTHON_PATH="${PROJECT_SOURCE_DIR}/embedded_example")
find_package(Threads) find_package(Threads)
add_executable(embedded_example main.cpp) add_executable(embedded_example main.cpp)
target_link_libraries(embedded_example PRIVATE pybind11::embed ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries(embedded_example PRIVATE pybind11::embed ${CMAKE_THREAD_LIBS_INIT})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment