summaryrefslogtreecommitdiff
path: root/cmake/helpers/EflMacros.cmake
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-23 18:25:22 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-23 18:25:22 -0200
commit5e294031de7403512a838776e383bae601df47d6 (patch)
treea740aeb2eccfa86561a8a9357eb521f67bf05acf /cmake/helpers/EflMacros.cmake
parent0f8a6d04abbc50075cd6194a5fc5f033b897e0b1 (diff)
cmake: fix module define translation.
we can't check the options in config/eina.cmake as they were not created at that point, instead we must have a "post" file that is included after everything else is processed, options/targets all exist and can be modified.
Diffstat (limited to 'cmake/helpers/EflMacros.cmake')
-rw-r--r--cmake/helpers/EflMacros.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/helpers/EflMacros.cmake b/cmake/helpers/EflMacros.cmake
index cdf25771d8..71f8cfc1ab 100644
--- a/cmake/helpers/EflMacros.cmake
+++ b/cmake/helpers/EflMacros.cmake
@@ -726,6 +726,8 @@ function(EFL_LIB _target)
726 _EFL_LIB_PROCESS_MODULES_INTERNAL() 726 _EFL_LIB_PROCESS_MODULES_INTERNAL()
727 _EFL_LIB_PROCESS_TESTS_INTERNAL() 727 _EFL_LIB_PROCESS_TESTS_INTERNAL()
728 728
729 include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/post/${_target}.cmake OPTIONAL)
730
729 LIST_APPEND_GLOBAL(EFL_ALL_LIBS ${_target}) 731 LIST_APPEND_GLOBAL(EFL_ALL_LIBS ${_target})
730endfunction() 732endfunction()
731 733