[ogre] Need to define executable in order to add libraries
Bruno Wolff III
bruno at fedoraproject.org
Sun Jan 2 19:22:50 UTC 2011
commit feab885241b5c6da90ba422280fd3a06d09ecc12
Author: Bruno Wolff III <bruno at wolff.to>
Date: Sun Jan 2 13:15:59 2011 -0600
Need to define executable in order to add libraries
ogre-1.7.2-rcapsdump-DSO-fix.patch | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/ogre-1.7.2-rcapsdump-DSO-fix.patch b/ogre-1.7.2-rcapsdump-DSO-fix.patch
index 837b0f1..285bf2a 100644
--- a/ogre-1.7.2-rcapsdump-DSO-fix.patch
+++ b/ogre-1.7.2-rcapsdump-DSO-fix.patch
@@ -1,14 +1,19 @@
+--- Tools/CMakeLists.txt.orig 2010-11-03 13:24:48.000000000 -0500
++++ Tools/CMakeLists.txt 2011-01-02 13:14:03.000000000 -0600
+@@ -14,3 +14,5 @@
+ add_subdirectory(XMLConverter)
+ add_subdirectory(MeshUpgrader)
+ endif (NOT OGRE_BUILD_PLATFORM_IPHONE)
++
++add_subdirectory(rcapsdump)
--- /dev/null 2010-12-22 19:33:04.813000034 -0600
-+++ Tools/rcapsdump/CMakeLists.txt 2011-01-02 10:19:18.000000000 -0600
-@@ -0,0 +1,3 @@
++++ Tools/rcapsdump/CMakeLists.txt 2011-01-02 13:11:25.000000000 -0600
+@@ -0,0 +1,8 @@
+# Configure rcapsdump
+
++set(SOURCE_FILES
++ src/main.cpp
++)
++
++add_executable(rcapsdump ${SOURCE_FILES})
+target_link_libraries(rcapsdump ${OGRE_LIBRARIES} ${OGRE_THREAD_LIBRARIES})
---- Tools/CMakeLists.txt.orig 2011-01-02 11:44:59.000000000 -0600
-+++ Tools/CMakeLists.txt 2011-01-02 11:45:17.000000000 -0600
-@@ -13,4 +13,5 @@
- if (NOT OGRE_BUILD_PLATFORM_IPHONE)
- add_subdirectory(XMLConverter)
- add_subdirectory(MeshUpgrader)
-+ add_subdirectory(rcapsdump)
- endif (NOT OGRE_BUILD_PLATFORM_IPHONE)
More information about the scm-commits
mailing list