openbsd-ports/x11/ogre/patches/patch-Samples_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

15 lines
451 B
Plaintext

$OpenBSD: patch-Samples_CMakeLists_txt,v 1.1 2012/10/07 09:37:46 dcoppa Exp $
Samples are shared modules, not shared libraries
--- Samples/CMakeLists.txt.orig Wed Oct 3 20:37:25 2012
+++ Samples/CMakeLists.txt Wed Oct 3 23:14:14 2012
@@ -1,5 +1,7 @@
# Configure Samples build
+set(OGRE_LIB_TYPE MODULE)
+
if (OGRE_BUILD_SAMPLES AND NOT OIS_FOUND)
message(STATUS "Could not find dependency: OIS")
message(STATUS "Skipping samples build")