openbsd-ports/x11/ogre/patches/patch-RenderSystems_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
462 B
Plaintext

$OpenBSD: patch-RenderSystems_CMakeLists_txt,v 1.1 2012/10/07 09:37:46 dcoppa Exp $
RenderSystems are shared modules, not shared libraries
--- RenderSystems/CMakeLists.txt.orig Wed Oct 3 20:37:09 2012
+++ RenderSystems/CMakeLists.txt Wed Oct 3 23:14:05 2012
@@ -9,6 +9,8 @@
# Configure RenderSystem build
+set(OGRE_LIB_TYPE MODULE)
+
if (OGRE_BUILD_RENDERSYSTEM_D3D9)
if (NOT DirectX_FOUND)
MESSAGE(STATUS "Could not find dependency: DirectX")