[Bug 210505] graphics/opencv upgrade to 3.1
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 10 16:45:03 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210505
--- Comment #24 from rozhuk.im at gmail.com ---
Yes, seem problem was not in missing libgflags.pc
I add libgflags.pc: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213360
but this wont help.
This is works:
--- modules/sfm/CMakeLists.txt.orig 2015-12-17 20:11:31.000000000 +0300
+++ modules/sfm/CMakeLists.txt 2016-10-10 18:28:05.556797000 +0300
@@ -18,9 +18,7 @@
set(_fname "${CMAKE_CURRENT_BINARY_DIR}/test_sfm_deps.cpp")
file(WRITE "${_fname}" "#include <glog/logging.h>\n#include
<gflags/gflags.h>\nint main() { (void)(0); return 0; }\n")
try_compile(SFM_DEPS_OK "${CMAKE_CURRENT_BINARY_DIR}" "${_fname}"
- CMAKE_FLAGS
"-DINCLUDE_DIRECTORIES:STRING=${GLOG_INCLUDE_DIRS};${GFLAGS_INCLUDE_DIRS}"
- LINK_LIBRARIES ${GLOG_LIBRARIES} ${GFLAGS_LIBRARIES}
- OUTPUT_VARIABLE OUTPUT
+ CMAKE_FLAGS
"-DINCLUDE_DIRECTORIES:STRING=${GLOG_INCLUDE_DIRS};${GFLAGS_INCLUDE_DIRS}
-DLINK_LIBRARIES:STRING=${GLOG_LIBRARIES};${GFLAGS_LIBRARIES}"
)
file(REMOVE "${_fname}")
message(STATUS "Checking SFM deps... ${SFM_DEPS_OK}")
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list