fix bug #499: the image was missing because of a dependency issue when building/executing the "special" examples

(transplanted from 75435079ca
)
This commit is contained in:
Gael Guennebaud
2012-08-27 11:11:25 +02:00
parent e589e3f0b6
commit 2858b6d2d6
4 changed files with 6 additions and 7 deletions

View File

@@ -1,7 +1,5 @@
file(GLOB examples_SRCS "*.cpp")
add_custom_target(all_examples)
foreach(example_src ${examples_SRCS})
get_filename_component(example ${example_src} NAME_WE)
add_executable(${example} ${example_src})