Pārlūkot izejas kodu

Add plugin parameter to static build

Johannes Kreutz 3 gadi atpakaļ
vecāks
revīzija
128673c325
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      trackpoint-app/CMakeLists.txt

+ 2 - 0
trackpoint-app/CMakeLists.txt

@@ -36,6 +36,8 @@ ENDIF()
 
 # Release build: static link
 if(BUILD_STATIC_RELEASE)
+  ADD_DEFINITIONS(-DINCLUDE_PLUGINS)
+
   # OpenSceneGraph
   LIST(APPEND CMAKE_PREFIX_PATH "${CMAKE_CURRENT_LIST_DIR}/thirdparty/openscenegraph/install")
   FIND_PACKAGE(OpenSceneGraph REQUIRED COMPONENTS osgViewer osgDB osgGA osgText osgUtil)