# A list of files that will be symlink from the global path
SET ( tools_to_link 
      image_quality_check.py 
     )


SET (srcpath  ${CMAKE_CURRENT_SOURCE_DIR} )
SET (destpath "${CMAKE_INSTALL_PREFIX}/bin")

# We only want to generate the symlinks at the install stage, not on the build...
IF(UNIX)
  FOREACH(file ${tools_to_link})
    INSTALL (CODE "EXEC_PROGRAM(sudo ARGS \"/bin/ln\" -s -f \"${srcpath}/${file}\" \"${destpath}/${file}\") ")
  ENDFOREACH(file) 
ENDIF(UNIX)
