403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/math/octomap/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/math/octomap/files/patch-octovis_CMakeLists__src.txt
--- octovis/CMakeLists_src.txt.orig	2022-05-12 20:49:09 UTC
+++ octovis/CMakeLists_src.txt
@@ -99,14 +99,14 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAK
 
 
 # Library target 
-add_library(octovis-static STATIC ${viewerlib_SRCS})
-target_link_libraries(octovis-static
-  ${OPENGL_gl_LIBRARY} 
-  ${OPENGL_glu_LIBRARY} 
-  ${OCTOMAP_LIBRARIES}
-  ${QGLViewer_LIBRARIES}
-)
-set_target_properties(octovis-static PROPERTIES OUTPUT_NAME octovis)
+#add_library(octovis-static STATIC ${viewerlib_SRCS})
+#target_link_libraries(octovis-static
+#  ${OPENGL_gl_LIBRARY} 
+#  ${OPENGL_glu_LIBRARY} 
+#  ${OCTOMAP_LIBRARIES}
+#  ${QGLViewer_LIBRARIES}
+#)
+#set_target_properties(octovis-static PROPERTIES OUTPUT_NAME octovis)
 
 add_library(octovis-shared SHARED ${viewerlib_SRCS})
 target_link_libraries(octovis-shared 
@@ -124,7 +124,7 @@ set_target_properties(octovis-shared PROPERTIES
 # directly depend on the octomap library target when building the
 # complete distribution, so it is recompiled as needed
 if (CMAKE_PROJECT_NAME STREQUAL "octomap-distribution")
-  ADD_DEPENDENCIES(octovis-static octomap-static)
+  #ADD_DEPENDENCIES(octovis-static octomap-static)
   ADD_DEPENDENCIES(octovis-shared octomap)
 endif()
 
@@ -151,10 +151,10 @@ if(NOT EXISTS "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/cmake
   file(MAKE_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/cmake/octovis")
 endif()
 
-export(TARGETS octovis octovis-static octovis-shared
+export(TARGETS octovis octovis-shared
   FILE "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/cmake/octovis/octovis-targets.cmake")
 
-install(TARGETS octovis octovis-static octovis-shared
+install(TARGETS octovis octovis-shared
   EXPORT octovis-targets
   INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
   ${INSTALL_TARGETS_DEFAULT_ARGS}

Youez - 2016 - github.com/yon3zu
LinuXploit