comparison cmake/FindD.cmake @ 212:bc1525b955d8

a small fix in cmake for the build_example macro.
author SokoL_SD
date Tue, 14 Jul 2009 13:05:55 +0000
parents d3383b16f1d7
children 8aaa84d48451
comparison
equal deleted inserted replaced
211:7ea67ec3cf29 212:bc1525b955d8
407 407
408 if(auto_detect_depentes_tmp) 408 if(auto_detect_depentes_tmp)
409 get_files_depends(tmp ${SOURCES_tmp}) 409 get_files_depends(tmp ${SOURCES_tmp})
410 set(SOURCES_tmp ${tmp}) 410 set(SOURCES_tmp ${tmp})
411 endif(auto_detect_depentes_tmp) 411 endif(auto_detect_depentes_tmp)
412 set(SOURCES_tmp ${SOURCES_tmp} ${NO_DEPS_SOURCES}) 412 set(SOURCES_tmp ${SOURCES_tmp} ${NO_DEPS_SOURCES_tmp})
413 413
414 set(used_ar_tmp) 414 set(used_ar_tmp)
415 get_filename_component(output_path_tmp ${output_name_tmp} PATH) 415 get_filename_component(output_path_tmp ${output_name_tmp} PATH)
416 if (NOT not_obj_tmp) 416 if (NOT not_obj_tmp)
417 compile_d_files(${name} objs_tmp ${SOURCES_tmp} FLAGS ${compile_flags_tmp}) 417 compile_d_files(${name} objs_tmp ${SOURCES_tmp} FLAGS ${compile_flags_tmp})