Skip to content

Commit 6941148

Browse files
committed
[cmake] Fix occasional build failures where cilktools would not find the Cilk header files.
1 parent 87aa32f commit 6941148

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ foreach( f ${cilk_header_files})
2727
endforeach( f )
2828

2929
add_custom_target(cilk-headers ALL DEPENDS ${out_files})
30+
add_dependencies(cheetah cilk-headers)
3031
set_target_properties(cilk-headers PROPERTIES FOLDER "Cheetah Misc")
3132

3233
set(header_install_dir ${CHEETAH_INSTALL_PATH}/include)

0 commit comments

Comments
 (0)