forked from pool/alure
3499a7e1e4
Fix tumbleweed OBS-URL: https://build.opensuse.org/request/show/954336 OBS-URL: https://build.opensuse.org/package/show/games/alure?expand=0&rev=9
18 lines
414 B
Diff
18 lines
414 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -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}")
|
|
|