Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2017 23:34:45 +0100
From:      Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
To:        freebsd-ports@freebsd.org
Subject:   Re: libkml and flsh plugin issues
Message-ID:  <8c1088b1-9d3c-6fd9-599b-7759e7839b4e@utanet.at>
In-Reply-To: <741e57cc-7c83-8f7a-43ca-d760bec380d2@utanet.at>
References:  <741e57cc-7c83-8f7a-43ca-d760bec380d2@utanet.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8c1088b1-9d3c-6fd9-599b-7759e7839b4e>