summaryrefslogtreecommitdiff
path: root/cmake/helpers/EflMacros.cmake
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-21 12:12:57 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-23 18:23:40 +0100
commitfe1863e30d21ad957db4929a7c402e07731530dd (patch)
tree5c3acdb973f76400d4edde84bb8b8d44cad94999 /cmake/helpers/EflMacros.cmake
parent76e68de5d6f8a0a7843579612e01f8a3caf564a2 (diff)
cmake: move PACKAGE defines into a sane place
this should support all the vars used in all efl subsystems
Diffstat (limited to 'cmake/helpers/EflMacros.cmake')
-rw-r--r--cmake/helpers/EflMacros.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/helpers/EflMacros.cmake b/cmake/helpers/EflMacros.cmake
index 941ee8902c..12577d8128 100644
--- a/cmake/helpers/EflMacros.cmake
+++ b/cmake/helpers/EflMacros.cmake
@@ -482,7 +482,8 @@ function(EFL_LIB _target)
482 set_target_properties(${_target} PROPERTIES 482 set_target_properties(${_target} PROPERTIES
483 FRAMEWORK TRUE 483 FRAMEWORK TRUE
484 PUBLIC_HEADER "${_headers}" 484 PUBLIC_HEADER "${_headers}"
485 OBJECT_DEPENDS "${_obj_deps}") 485 OBJECT_DEPENDS "${_obj_deps}"
486 COMPILE_FLAGS -DPACKAGE_DATA_DIR=\\"${CMAKE_INSTALL_FULL_DATADIR}/${_target}/\\")
486 487
487 if(DEPENDENCIES) 488 if(DEPENDENCIES)
488 add_dependencies(${_target} ${DEPENDENCIES}) 489 add_dependencies(${_target} ${DEPENDENCIES})