No rule to make target "<path/to/archive/>libarchive.a"
I used
target_link_libraries( animate PUBLIC ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES} ${ARMADILLO_LIBRARIES} ${DRAWSTUFF_DIR}libdrawstuff64.a )
this implementation worked on cmake 3.9.5 but fails showing
make[2]: *** No rule to make target '/path/to/lib/drawstuff/libdrawstuff64.a', needed by '../bin/animate'. Stop.