forked from pool/alure
6c8eb97f80
required for springlobby OBS-URL: https://build.opensuse.org/request/show/159602 OBS-URL: https://build.opensuse.org/package/show/games/alure?expand=0&rev=1
18 lines
487 B
Diff
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}")
|
|
|