LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File nepomuk-scribo-cmakelists-file.patch of Package nepomuk-scribo (Project home:aapgorilla:kde4)

--- CMakeLists.txt.orig	2009-10-14 16:32:20.000000000 +0200
+++ CMakeLists.txt	2009-10-14 16:13:55.000000000 +0200
@@ -35,10 +35,23 @@
 get_filename_component(_soprano_module_path "${_soprano_module_path_relative}" ABSOLUTE)
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${_soprano_module_path})
 
+# Global definitions ( used by all sources )
+# Check if is a 64 bits install and use user defined LIB_SUFFIX
+if( UNIX )
+   set( LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
+   include( CheckTypeSize )
+   check_type_size( "void*" VOID_SIZE )
+   if( VOID_SIZE EQUAL 8 )
+       message( STATUS "Compiling in 64 bits machine" )
+       add_definitions( -fPIC -DPIC )
+   endif( VOID_SIZE EQUAL 8 )
+endif( UNIX )
+
+
 add_definitions(-DDISABLE_NEPOMUK_LEGACY=1)
 
 add_subdirectory(resource-visualization)
-add_subdirectory(pimo)
+#add_subdirectory(pimo)
 add_subdirectory(nepomukutils)
 add_subdirectory(scribo)
 add_subdirectory(annotation)
@@ -46,22 +59,22 @@
 add_subdirectory(knepsearchclient)
 add_subdirectory(kioslaves)
 
-add_subdirectory(nsqd)
-add_subdirectory(nsqclient)
+#add_subdirectory(nsqd)
+#add_subdirectory(nsqclient)
 
-add_subdirectory(peopletag)
-add_subdirectory(kpeopletag)
-add_subdirectory(krunner)
+#add_subdirectory(peopletag)
+#add_subdirectory(kpeopletag)
+#add_subdirectory(krunner)
 add_subdirectory(konqueror)
 #add_subdirectory(linkwidget)
 #add_subdirectory(contactapi)
 #add_subdirectory(resourceinspector)
 add_subdirectory(usercontext)
 add_subdirectory(ontologyimportclient)
-add_subdirectory(semclip)
-add_subdirectory(removablestorageservice)
+#add_subdirectory(semclip)
+#add_subdirectory(removablestorageservice)
 add_subdirectory(smartsave)
-add_subdirectory(filesystemservice)
+#add_subdirectory(filesystemservice)
 add_subdirectory(fileannotationservice)
 add_subdirectory(tasks)