openbsd-ports/x11/ogre/patches/patch-PlugIns_CMakeLists_txt
dcoppa 1444207d89 Fix misuse of CMake
While here, install *.cfg files in a location where SampleBrowser
can find them by default and remove obsolete pthread-related
patches...

OK landry@
2012-10-07 09:37:45 +00:00

16 lines
419 B
Plaintext

$OpenBSD: patch-PlugIns_CMakeLists_txt,v 1.1 2012/10/07 09:37:46 dcoppa Exp $
PlugIns are shared modules, not shared libraries
--- PlugIns/CMakeLists.txt.orig Wed Oct 3 20:34:52 2012
+++ PlugIns/CMakeLists.txt Wed Oct 3 23:13:00 2012
@@ -9,6 +9,8 @@
# Configure Plugins build
+set(OGRE_LIB_TYPE MODULE)
+
if (OGRE_BUILD_PLUGIN_OCTREE)
add_subdirectory(OctreeSceneManager)
endif (OGRE_BUILD_PLUGIN_OCTREE)