summaryrefslogtreecommitdiff
path: root/cmake/helpers/EflMacros.cmake
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-26 14:48:20 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-26 14:48:20 -0200
commitebab91182cec0c17e41b74c747b828b8e41ebbab (patch)
treee80d5ddcbb6ad27c4246c75028d2d69b5a9dc00b /cmake/helpers/EflMacros.cmake
parente1937739a27332eed2a4f2940f7707614e76bdb2 (diff)
cmake/eolian: fix EOLIAN_BIN type.
So EOLIAN_BIN had no type, which resulted in BOOL and thus ON/OFF. It should be labeled as FILEPATH and then we can remove the special case in EflMacros.cmake.
Diffstat (limited to 'cmake/helpers/EflMacros.cmake')
-rw-r--r--cmake/helpers/EflMacros.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmake/helpers/EflMacros.cmake b/cmake/helpers/EflMacros.cmake
index 2f52830315..41ad0dce61 100644
--- a/cmake/helpers/EflMacros.cmake
+++ b/cmake/helpers/EflMacros.cmake
@@ -1428,10 +1428,6 @@ function(EFL_CREATE_EO_RULES target source_dir generation_dir)
1428 1428
1429 #add the custom rule 1429 #add the custom rule
1430 if(file_eo_gen_files) 1430 if(file_eo_gen_files)
1431 if(EOLIAN_BIN STREQUAL ON)
1432 set(EOLIAN_BIN ${CMAKE_BINARY_DIR}/bin/eolian_gen)
1433 set(IN_TREE_EOLIAN ON)
1434 endif()
1435 add_custom_command( 1431 add_custom_command(
1436 OUTPUT ${file_eo_gen_files} 1432 OUTPUT ${file_eo_gen_files}
1437 COMMAND ${EOLIAN_BIN} ${rel_include_cmd} ${include_cmd} ${EOLIAN_EXTRA_PARAMS} ${out_cmd} ${file} 1433 COMMAND ${EOLIAN_BIN} ${rel_include_cmd} ${include_cmd} ${EOLIAN_EXTRA_PARAMS} ${out_cmd} ${file}
@@ -1458,7 +1454,7 @@ function(EFL_CREATE_EO_RULES target source_dir generation_dir)
1458 DEPENDS ${all_eo_gen_files} 1454 DEPENDS ${all_eo_gen_files}
1459 ) 1455 )
1460 add_dependencies(${target} ${target}-eo) 1456 add_dependencies(${target} ${target}-eo)
1461 if(IN_TREE_EOLIAN) 1457 if(${EOLIAN_BIN} STREQUAL ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/eolian_gen)
1462 add_dependencies(${target}-eo eolian-bin) 1458 add_dependencies(${target}-eo eolian-bin)
1463 endif() 1459 endif()
1464 endif() 1460 endif()