blob: 9fd4fc8862c1c9d2990a4c2e20af381d69a178f4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Only build the library in the master port.
--- bindings/CMakeLists.txt.orig 2017-05-11 09:33:33 UTC
+++ bindings/CMakeLists.txt
@@ -20,6 +20,7 @@ if (WITH_PERL)
endif()
# Install Vala bindings / Install only when -DWITH_VALA is passed to cmake.
+if (WITH_LIBRARY)
option(WITH_VALA "Enables Vala bindings" OFF)
if(WITH_VALA)
if (NOT VAPI_DIR)
@@ -27,4 +28,5 @@ if(WITH_VALA)
endif()
install(FILES vala/libproxy-1.0.vapi DESTINATION ${VAPI_DIR})
set(VAPI_DIR ${VAPI_DIR} CACHE PATH "Vala API directory")
+endif()
endif()
|