public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/libRocket/files: libRocket-1.2.1-build.patch
@ 2013-01-18 18:40 Julian Ospald (hasufell)
  0 siblings, 0 replies; only message in thread
From: Julian Ospald (hasufell) @ 2013-01-18 18:40 UTC (permalink / raw
  To: gentoo-commits

hasufell    13/01/18 18:40:21

  Added:                libRocket-1.2.1-build.patch
  Log:
  initial import
  
  (Portage version: 2.2.0_alpha153/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)

Revision  Changes    Path
1.1                  dev-libs/libRocket/files/libRocket-1.2.1-build.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libRocket/files/libRocket-1.2.1-build.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libRocket/files/libRocket-1.2.1-build.patch?rev=1.1&content-type=text/plain

Index: libRocket-1.2.1-build.patch
===================================================================
From: Julian Ospald <hasufell@gentoo.org>
--- Build/CMakeLists.txt
+++ Build/CMakeLists.txt
@@ -11,6 +11,9 @@
 
 project(libRocket C CXX)
 
+# paths
+include(GNUInstallDirs)
+
 set(LIBROCKET_VERSION_MAJOR 1)
 set(LIBROCKET_VERSION_MINOR 2)
 set(LIBROCKET_VERSION_PATCH 1)
@@ -131,8 +134,8 @@
     endif()
 
     install(TARGETS ${NAME}
-            LIBRARY DESTINATION lib
-            ARCHIVE DESTINATION lib
+            LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+            ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
     )
 endforeach(library)
 
@@ -237,7 +240,7 @@
         endif()
     endif()
    
-    set(SAMPLES_DIR opt/Rocket/Samples)
+    set(SAMPLES_DIR opt/Rocket/Samples CACHE PATH "path to samples dir")
 
     # The samples use the shell library
     include_directories(${PROJECT_SOURCE_DIR}/Samples/shell/include)
@@ -256,8 +259,8 @@
     target_link_libraries(${sample_LIBRARIES})
 
     install(TARGETS shell
-            LIBRARY DESTINATION lib
-            ARCHIVE DESTINATION lib
+            LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+            ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
     )
 
     list(APPEND samples treeview customlog drag loaddocument)





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-18 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-18 18:40 [gentoo-commits] gentoo-x86 commit in dev-libs/libRocket/files: libRocket-1.2.1-build.patch Julian Ospald (hasufell)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox