We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b47133f commit ef9236aCopy full SHA for ef9236a
python/CMakeLists.txt
@@ -8,8 +8,8 @@ file(GLOB_RECURSE python_srcs ${PROJECT_SOURCE_DIR}/python/*.cpp)
8
add_library(pycaffe SHARED ${python_srcs})
9
caffe_default_properties(pycaffe)
10
set_target_properties(pycaffe PROPERTIES PREFIX "" OUTPUT_NAME "_caffe")
11
-target_include_directories(pycaffe PUBLIC ${PYTHON_INCLUDE_DIRS} ${NUMPY_INCLUDE_DIR})
12
-target_link_libraries(pycaffe PUBLIC ${Caffe_LINK} ${PYTHON_LIBRARIES})
+target_include_directories(pycaffe PUBLIC ${Python_INCLUDE_DIRS} ${Python_NumPy_INCLUDE_DIRS})
+target_link_libraries(pycaffe PUBLIC ${Caffe_LINK} ${Python_LIBRARIES})
13
14
if(UNIX OR APPLE)
15
set(__linkname "${PROJECT_SOURCE_DIR}/python/caffe/_caffe.so")
0 commit comments