mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 13:34:36 +08:00
15 lines
507 B
Diff
15 lines
507 B
Diff
--- 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")
|