libkml and flsh plugin issues

Walter Schwarzenfeld w.schwarzenfeld at utanet.at
Sat Jan 21 22:34:50 UTC 2017


or try this

patch-CMakeLists.txt

--- CMakeLists.txt      2017-01-21 22:28:39 UTC
+++ CMakeLists.txt
@@ -19,6 +19,8 @@ option(WITH_SWIG   "Build all swig bindi
  option(WITH_PYTHON "Build python bindings" OFF)
  option(WITH_JAVA   "Build java bindings"   OFF)

+set(CMAKE_INCLUDE_DIRECTORIES_BEFORE ON)
+
  set(LIBKML_DATA_DIR  ${CMAKE_SOURCE_DIR}/testdata CACHE "Directory 
containing test data" PATH)

  #AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -pedantic -fno-rtti
@@ -215,4 +217,4 @@ install(FILES
    DESTINATION "${CMAKE_INSTALL_DIR}" )

  # Install the export set for use with the install-tree
-install(EXPORT LibKMLTargets DESTINATION "${CMAKE_INSTALL_DIR}")
\ No newline at end of file
+install(EXPORT LibKMLTargets DESTINATION "${CMAKE_INSTALL_DIR}")


----
It compiles on  my system with this patch, but I don't habe this error - 
you have to test it.



More information about the freebsd-ports mailing list