aboutsummaryrefslogtreecommitdiff
path: root/main/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'main/CMakeLists.txt')
-rw-r--r--main/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index cfb14eed..ce00206e 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -17,18 +17,18 @@ vala_precompile(MAIN_VALA_C
SOURCES
src/main.vala
CUSTOM_VAPIS
- ${CMAKE_BINARY_DIR}/xmpp-vala/xmpp-vala.vapi
- ${CMAKE_BINARY_DIR}/qlite/qlite.vapi
- ${CMAKE_BINARY_DIR}/libdino/dino.vapi
+ ${CMAKE_BINARY_DIR}/exports/xmpp-vala.vapi
+ ${CMAKE_BINARY_DIR}/exports/qlite.vapi
+ ${CMAKE_BINARY_DIR}/exports/dino_internal.vapi
PACKAGES
${MAIN_PACKAGES}
OPTIONS
--target-glib=2.38
- -g
+ ${GLOBAL_DEBUG_FLAGS}
--thread
)
-set(CFLAGS ${VALA_CFLAGS} ${MAIN_CFLAGS} -I${CMAKE_BINARY_DIR}/xmpp-vala -I${CMAKE_BINARY_DIR}/qlite -I${CMAKE_BINARY_DIR}/libdino)
+set(CFLAGS ${VALA_CFLAGS} ${MAIN_CFLAGS})
add_definitions(${CFLAGS})
add_executable(dino ${MAIN_VALA_C})
add_dependencies(dino dino-vapi)