SHA256
1
0
forked from pool/alure
alure/alure-lib-suffix.patch

18 lines
487 B
Diff

--- CMakeLists.txt.orig 2012-07-15 04:16:33.395014404 +0300
+++ CMakeLists.txt 2012-07-15 04:21:37.780014550 +0300
@@ -30,6 +30,14 @@
SET(LIB_MINOR_VERSION "2")
SET(LIB_VERSION "${LIB_MAJOR_VERSION}.${LIB_MINOR_VERSION}")
+IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
+ SET(LIB_SUFFIX "")
+ SET(PACK_ARCH "")
+ELSE(CMAKE_SIZEOF_VOID_P EQUAL 4)
+ SET(LIB_SUFFIX 64)
+ SET(PACK_ARCH .x86_64)
+ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 4)
+
INCLUDE_DIRECTORIES(include "${ALURE_BINARY_DIR}")