在我的CMakeLists.txt中,我不知道如何在`target_link_libraries中提供相对路径。
我的CMakeLists.txt看起来像这样
add_library(FaceDetection SHARED example_wrap.cpp example.cpp )
INCLUDE_DIRECTORIES(../../../Includes/OpenCV-3.0.0-android-sdk/sdk/native/jni/include)
target_link_libraries(FaceDetection ../../../Includes/OpenCV-3.0.0-android-sdk/sdk/native/libs/armeabi-v7a/libopencv_java.so)
install (TARGETS FaceDetection DESTINATION ${CMAKE_BINARY_DIR}/bin)
如何传递目标链接库的相对路径?