Skip to content

Commit 447bced

Browse files
committed
Add include directories to the target.
1 parent 47d3459 commit 447bced

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ add_executable(embedding_python_example main.c)
4949

5050
target_link_libraries(embedding_python_example libmetacall)
5151

52+
target_include_directories(embedding_python_example PUBLIC ${CMAKE_INSTALL_PREFIX}/include)
53+
5254
# Install main target
5355
install(TARGETS embedding_python_example DESTINATION bin)

0 commit comments

Comments
 (0)