mirror of
https://github.com/elementary/gala.git
synced 2024-11-24 12:23:58 +03:00
build: Add conditionals for libmutter 3.10
This commit is contained in:
parent
41dc0838e4
commit
af1519b9e8
@ -48,6 +48,12 @@ if (MUTTER38_FOUND)
|
|||||||
set (MUTTER38_FLAGS "--define=HAS_MUTTER38")
|
set (MUTTER38_FLAGS "--define=HAS_MUTTER38")
|
||||||
endif (MUTTER38_FOUND)
|
endif (MUTTER38_FOUND)
|
||||||
|
|
||||||
|
set (MUTTER310_FLAGS "")
|
||||||
|
pkg_check_modules(MUTTER310 QUIET libmutter>=3.9.1)
|
||||||
|
if (MUTTER310_FOUND)
|
||||||
|
set (MUTTER310_FLAGS "--define=HAS_MUTTER310")
|
||||||
|
endif (MUTTER310_FOUND)
|
||||||
|
|
||||||
add_definitions(${DEPS_CFLAGS})
|
add_definitions(${DEPS_CFLAGS})
|
||||||
|
|
||||||
link_libraries(${DEPS_LIBRARIES})
|
link_libraries(${DEPS_LIBRARIES})
|
||||||
@ -87,6 +93,7 @@ OPTIONS
|
|||||||
--vapidir=${CMAKE_CURRENT_SOURCE_DIR}/vapi/
|
--vapidir=${CMAKE_CURRENT_SOURCE_DIR}/vapi/
|
||||||
${MUTTER36_FLAGS}
|
${MUTTER36_FLAGS}
|
||||||
${MUTTER38_FLAGS}
|
${MUTTER38_FLAGS}
|
||||||
|
${MUTTER310_FLAGS}
|
||||||
)
|
)
|
||||||
|
|
||||||
#add_subdirectory (po)
|
#add_subdirectory (po)
|
||||||
|
Loading…
Reference in New Issue
Block a user