summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-10-05 21:45:52 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-10-05 21:45:52 +0200
commite65feb6fd3d035f06f7439c79b5eea37946eea5e (patch)
treecedd91d741161e7f5bc45b50a1006905699a5ecd /src
parent3639520b85a4c05334b7e8920d42a33b0831c3f0 (diff)
downloadeva-e65feb6fd3d035f06f7439c79b5eea37946eea5e.tar
eva-e65feb6fd3d035f06f7439c79b5eea37946eea5e.zip
Include erl_interface.vapi
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f6208a6..0a431a6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,6 +1,7 @@
-add_definitions(${GEE_CFLAGS} ${GEE_CFLAGS_OTHER} ${GIO_CFLAGS} ${GIO_CFLAGS_OTHER} ${ERL_CFLAGS} ${ERL_CFLAGS_OTHER})
-link_libraries(${GEE_LIBRARIES} ${GIO_LIBRARIES} ${ERL_LIBRARIES})
-link_directories(${GEE_LIBRARY_DIRS} ${GIO_LIBRARY_DIRS} ${ERL_LIBRARY_DIRS})
+add_definitions(${GEE_CFLAGS} ${GEE_CFLAGS_OTHER} ${GIO_CFLAGS} ${GIO_CFLAGS_OTHER})
+include_directories(${EI_INCLUDE_DIR})
+link_libraries(${GEE_LIBRARIES} ${GIO_LIBRARIES} "${EI_LIBRARY_DIR}/libei.a")
+link_directories(${GEE_LIBRARY_DIRS} ${GIO_LIBRARY_DIRS})
vala_precompile(EVA_C
Atom.vala
@@ -20,10 +21,11 @@ vala_precompile(EVA_C
UInt.vala
Util.vala
Var.vala
+CUSTOM_VAPIS
+ ${eva_SOURCE_DIR}/vapi/erl_interface.vapi
PACKAGES
gee-1.0
gio-2.0
- erl_interface
GENERATE_VAPI
eva
)