summaryrefslogtreecommitdiff
path: root/community/e4rat/e4rat-static_core.patch
blob: f9aac8208f5357adb91ee7e76d1df6d9d47b3501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/CMakeLists.txt.orig	2012-04-16 13:52:10.993586393 +0200
+++ src/CMakeLists.txt	2012-04-16 13:52:22.503586159 +0200
@@ -5,11 +5,7 @@
   MESSAGE(FATAL_ERROR "Do not run cmake on subdirectories")
 ENDIF()

-if(CMAKE_SIZEOF_VOID_P MATCHES 4)
-    SET(BUILD_CORE_LIBRARY_STATIC 0)
-else(CMAKE_SIZEOF_VOID_P MATCHES 4)
-    SET(BUILD_CORE_LIBRARY_STATIC 1)
-endif(CMAKE_SIZEOF_VOID_P MATCHES 4)
+SET(BUILD_CORE_LIBRARY_STATIC 1)

 #TODO permit link dependencies not static
 #set(LINK_DEPENDENIES "static")